File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 4
4
serial : " {{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
5
5
tags :
6
6
- reboot
7
+ vars :
8
+ reboot_timeout_s : " {{ 20 * 60 }}"
7
9
tasks :
8
10
- name : Reboot and wait
9
11
become : true
10
12
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"
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
You can’t perform that action at this time.
0 commit comments