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 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"
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
You can’t perform that action at this time.
0 commit comments