Revert "try quoting things with vars in them so they interpolate?"
This reverts commit 357208852e
.
This commit is contained in:
parent
357208852e
commit
d9e9338ad3
2 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@
|
|||
|
||||
- name: add them to myvms_new group
|
||||
local_action: add_host hostname=$item groupname=myvms_new
|
||||
with_items: "${vmlist.list_vms}"
|
||||
with_items: ${vmlist.list_vms}
|
||||
|
||||
|
||||
- name: halt instances
|
||||
|
@ -50,7 +50,7 @@
|
|||
# if one of them is down we don't care
|
||||
|
||||
- name: wait for them to die
|
||||
local_action: "wait_for port=22 delay=30 timeout=300 state=stopped host=${inventory_hostname}"
|
||||
local_action: wait_for port=22 delay=30 timeout=300 state=stopped host=${inventory_hostname}
|
||||
|
||||
- name: reboot vhost
|
||||
hosts: $target
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
- name: add them to myvms_new group
|
||||
local_action: add_host hostname=$item groupname=myvms_new
|
||||
with_items: "${vmlist.list_vms}"
|
||||
with_items: ${vmlist.list_vms}
|
||||
|
||||
- name: update all run rkhunter if installed
|
||||
hosts: $target;myvms_new
|
||||
|
@ -21,8 +21,8 @@
|
|||
- name: expire-caches
|
||||
action: command yum clean expire-cache
|
||||
|
||||
- name: "yum -y ${yumcommand}"
|
||||
action: "command yum -y ${yumcommand}"
|
||||
- name: yum -y ${yumcommand}
|
||||
action: command yum -y ${yumcommand}
|
||||
async: 7200
|
||||
poll: 50
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue