some more linter fixes
[noc.git] / ansible / roles / reboot-and-wait / tasks / main.yml
1 - name: reboot machine
2   shell: sleep 2 && shutdown -r now
3   async: 1
4   poll: 0
5   ignore_errors: true
6   tags:
7   - skip_ansible_lint
8
9 - name: waiting for host to come back
10   wait_for_connection:
11     delay: "{{ reboot_delay }}"
12     timeout: "{{ reboot_timeout }}"