blob: 18ae270386de40432f41978d20f381e6d08841ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
- name: reboot machine
shell: sleep 2 && shutdown -r now
async: 1
poll: 0
ignore_errors: true
tags:
- skip_ansible_lint
- name: waiting for host to come back
wait_for_connection:
delay: "{{ reboot_delay }}"
timeout: "{{ reboot_timeout }}"
|