File tree Expand file tree Collapse file tree 4 files changed +31
-3
lines changed Expand file tree Collapse file tree 4 files changed +31
-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 10
10
ansible_python_interpreter : " /usr/bin/python3"
11
11
tags :
12
12
- reboot
13
+ vars :
14
+ reboot_timeout_s : " {{ 20 * 60 }}"
13
15
tasks :
14
16
- name : Reboot and wait
15
17
become : true
16
18
reboot :
19
+ reboot_timeout : " {{ reboot_timeout_s }}"
20
+ search_paths :
21
+ # Systems running molly-guard hang waiting for confirmation before rebooting without this.
22
+ - " /lib/molly-guard"
23
+ # Default list:
24
+ - " /sbin"
25
+ - " /bin"
26
+ - " /usr/sbin"
27
+ - " /usr/bin"
28
+ - " /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