Skip to content

Commit 382f735

Browse files
committed
Add reboot timeout to reboot playbook
1 parent 4fb938c commit 382f735

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

etc/kayobe/ansible/reboot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
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 }}"
1114
search_paths:
1215
# Systems running molly-guard hang waiting for confirmation before rebooting without this.
1316
- "/lib/molly-guard"

0 commit comments

Comments
 (0)