This commit is contained in:
Seth Vidal 2012-11-21 18:22:03 +00:00
parent 16ead80f8b
commit 686080d2e6

View file

@ -29,11 +29,15 @@
tasks:
- name: echo-y
action: command uname -a
- name: echo-ymore
action: command uptime
action: command echo "I would run halt -p"
- name: pause for 30s to let them die
local_action: pause seconds=30
#- name: reboot vhost
# hosts: $vhost
# user: root
- name: reboot vhost
hosts: $vhost
user: root
tasks:
- name: echo what I would do
action: command echo 'I would run halt -r"