echo'y
This commit is contained in:
parent
16ead80f8b
commit
686080d2e6
1 changed files with 10 additions and 6 deletions
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue