File tree Expand file tree Collapse file tree 4 files changed +30
-3
lines changed Expand file tree Collapse file tree 4 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 3535 - include_role :
3636 name : ansible-lockdown.rhel9_cis
3737 when : ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
38- tags : always
3938
4039 - include_role :
4140 name : ansible-lockdown.ubuntu22_cis
4241 when : ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '22'
43- tags : always
Original file line number Diff line number Diff line change 44 serial : " {{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
55 gather_facts : false
66 vars :
7+ reboot_timeout_s : " {{ 20 * 60 }}"
78 reboot_with_bootstrap_user : false
89 ansible_user : " {{ bootstrap_user if reboot_with_bootstrap_user | bool else kayobe_ansible_user }}"
910 ansible_ssh_common_args : " {{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user | bool else '' }}"
1415 - name : Reboot and wait
1516 become : true
1617 reboot :
18+ reboot_timeout : " {{ reboot_timeout_s }}"
19+ search_paths :
20+ # Systems running molly-guard hang waiting for confirmation before rebooting without this.
21+ - " /lib/molly-guard"
22+ # Default list:
23+ - " /sbin"
24+ - " /bin"
25+ - " /usr/sbin"
26+ - " /usr/bin"
27+ - " /usr/local/sbin"
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ variable "aio_vm_subnet" {
3535
3636variable "aio_vm_volume_size" {
3737 type = number
38- default = 35
38+ default = 40
3939}
4040
4141variable "aio_vm_tags" {
You can’t perform that action at this time.
0 commit comments