forked from ISTI-ansible-roles/ansible-roles
10 lines
244 B
YAML
10 lines
244 B
YAML
|
- name: Reboot host
|
||
|
command: shutdown -r now "Ansible updates triggered"
|
||
|
async: 0
|
||
|
poll: 0
|
||
|
ignore_errors: true
|
||
|
|
||
|
- name: waiting for server to come back
|
||
|
local_action: wait_for host={{ inventory_hostname }}
|
||
|
state=started
|