This commit is contained in:
parent
097012e96d
commit
1534f58bd1
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- block:
|
- block:
|
||||||
- name: Restart network
|
- name: Restart network
|
||||||
shell: sleep 2 && systemctl restart network
|
shell: 'sleep 2 && systemctl restart network'
|
||||||
async: 1
|
async: 1
|
||||||
poll: 0
|
poll: 0
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
@ -9,7 +9,7 @@
|
|||||||
listen: __network_restart
|
listen: __network_restart
|
||||||
|
|
||||||
- name: Reboot server
|
- name: Reboot server
|
||||||
shell: sleep 2 && shutdown -r now "Reboot triggered by Ansible"
|
shell: 'sleep 2 && shutdown -r now "Reboot triggered by Ansible"'
|
||||||
async: 1
|
async: 1
|
||||||
poll: 0
|
poll: 0
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user