Skip to content

Commit 07fdce6

Browse files
committed
Merge stackhpc/yoga into stackhpc/zed
2 parents 41936eb + 2aa9d60 commit 07fdce6

File tree

5 files changed

+61
-4
lines changed

5 files changed

+61
-4
lines changed

etc/kayobe/ansible/cis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
- include_role:
2525
name: ansible-lockdown.rhel9_cis
2626
when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
27-
tags: always
2827

2928
- include_role:
3029
name: ansible-lockdown.ubuntu22_cis
3130
when: ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '22'
32-
tags: always

etc/kayobe/ansible/reboot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,19 @@
44
serial: "{{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
55
tags:
66
- reboot
7+
vars:
8+
reboot_timeout_s: "{{ 20 * 60 }}"
79
tasks:
810
- name: Reboot and wait
911
become: true
1012
reboot:
13+
reboot_timeout: "{{ reboot_timeout_s }}"
14+
search_paths:
15+
# Systems running molly-guard hang waiting for confirmation before rebooting without this.
16+
- "/lib/molly-guard"
17+
# Default list:
18+
- "/sbin"
19+
- "/bin"
20+
- "/usr/sbin"
21+
- "/usr/bin"
22+
- "/usr/local/sbin"

etc/kayobe/ansible/ubuntu-upgrade.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
reboot:
4141
reboot_timeout: "{{ reboot_timeout_s }}"
4242
connect_timeout: 600
43+
search_paths:
44+
# Systems running molly-guard hang waiting for confirmation before rebooting without this.
45+
- "/lib/molly-guard"
46+
# Default list:
47+
- "/sbin"
48+
- "/bin"
49+
- "/usr/sbin"
50+
- "/usr/bin"
51+
- "/usr/local/sbin"
4352
become: true
4453
when: file_status.stat.exists
4554

@@ -101,6 +110,15 @@
101110
reboot:
102111
reboot_timeout: "{{ reboot_timeout_s }}"
103112
connect_timeout: 600
113+
search_paths:
114+
# Systems running molly-guard hang waiting for confirmation before rebooting without this.
115+
- "/lib/molly-guard"
116+
# Default list:
117+
- "/sbin"
118+
- "/bin"
119+
- "/usr/sbin"
120+
- "/usr/bin"
121+
- "/usr/local/sbin"
104122
become: true
105123

106124
- name: Update distribution facts

etc/kayobe/inventory/group_vars/overcloud/cis

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ rhel9cis_rule_5_3_4: false
3535
# Please double-check yourself with: sudo passwd -S root
3636
rhel9cis_rule_5_6_6: false
3737

38+
# Stop the CIS benchmark scanning all files on every filesystem since this
39+
# takes a long time. Related to the changing permissions block below. This
40+
# would normally warn you about violations, but we can use Wazuh to continually
41+
# monitor this.
42+
rhel9cis_rule_6_1_9: false
43+
rhel9cis_rule_6_1_10: false
44+
rhel9cis_rule_6_1_11: false
45+
rhel9cis_rule_6_1_12: false
46+
rhel9cis_rule_6_1_13: false
47+
rhel9cis_rule_6_1_14: false
48+
rhel9cis_rule_6_1_15: false
49+
50+
# The following rules change permissions on all files on every mounted
51+
# filesystem. We do not want to change /var/lib/docker permissions.
52+
rhel9cis_no_world_write_adjust: false
53+
3854
# Configure log rotation to prevent audit logs from filling the disk
3955
rhel9cis_auditd:
4056
space_left_action: syslog
@@ -119,9 +135,22 @@ ubtu22cis_sshd:
119135
deny_users: ""
120136
deny_groups: ""
121137

122-
# Do not change /var/lib/docker permissions
138+
# Stop the CIS benchmark scanning all files on every filesystem since this
139+
# takes a long time. Related to the changing permissions block below. This
140+
# would normally warn you about violations, but we can use Wazuh to continually
141+
# monitor this.
142+
ubtu22cis_rule_6_1_9: false
143+
ubtu22cis_rule_6_1_10: false
144+
ubtu22cis_rule_6_1_11: false
145+
ubtu22cis_rule_6_1_12: false
146+
ubtu22cis_rule_6_1_13: false
147+
148+
# The following rules change permissions on all files on every mounted
149+
# filesystem. We do not want to change /var/lib/docker permissions.
123150
ubtu22cis_no_group_adjust: false
124151
ubtu22cis_no_owner_adjust: false
152+
ubtu22cis_no_world_write_adjust: false
153+
ubtu22cis_suid_adjust: false
125154

126155
# Configure log rotation to prevent audit logs from filling the disk
127156
ubtu22cis_auditd:

terraform/aio/vm.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ variable "aio_vm_subnet" {
3535

3636
variable "aio_vm_volume_size" {
3737
type = number
38-
default = 35
38+
default = 40
3939
}
4040

4141
variable "aio_vm_tags" {

0 commit comments

Comments
 (0)