mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 04:00:25 +08:00
Revert "try quoting things with vars in them so they interpolate?"
This reverts commit 357208852e.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user