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 35
35
- include_role :
36
36
name : ansible-lockdown.rhel9_cis
37
37
when : ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '9'
38
- tags : always
39
38
40
39
- include_role :
41
40
name : ansible-lockdown.ubuntu22_cis
42
41
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 4
4
serial : " {{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
5
5
gather_facts : false
6
6
vars :
7
+ reboot_timeout_s : " {{ 20 * 60 }}"
7
8
reboot_with_bootstrap_user : false
8
9
ansible_user : " {{ bootstrap_user if reboot_with_bootstrap_user | bool else kayobe_ansible_user }}"
9
10
ansible_ssh_common_args : " {{ '-o StrictHostKeyChecking=no' if reboot_with_bootstrap_user | bool else '' }}"
14
15
- name : Reboot and wait
15
16
become : true
16
17
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 40
40
reboot :
41
41
reboot_timeout : " {{ reboot_timeout_s }}"
42
42
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"
43
52
become : true
44
53
when : file_status.stat.exists
45
54
101
110
reboot :
102
111
reboot_timeout : " {{ reboot_timeout_s }}"
103
112
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"
104
122
become : true
105
123
106
124
- name : Update distribution facts
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ variable "aio_vm_subnet" {
35
35
36
36
variable "aio_vm_volume_size" {
37
37
type = number
38
- default = 35
38
+ default = 40
39
39
}
40
40
41
41
variable "aio_vm_tags" {
You can’t perform that action at this time.
0 commit comments