From d9e9338ad33c5fee8d0458cfa1bef98c8f474fb6 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Mon, 29 Jul 2013 19:58:20 +0000 Subject: [PATCH] Revert "try quoting things with vars in them so they interpolate?" This reverts commit 357208852e57f810c1b575b64f3c828ccb4901ba. --- playbooks/vhost_reboot.yml | 4 ++-- playbooks/vhost_update.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/vhost_reboot.yml b/playbooks/vhost_reboot.yml index 0444a61203..07890d4252 100644 --- a/playbooks/vhost_reboot.yml +++ b/playbooks/vhost_reboot.yml @@ -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 diff --git a/playbooks/vhost_update.yml b/playbooks/vhost_update.yml index 77fd4f4de6..0ea149078b 100644 --- a/playbooks/vhost_update.yml +++ b/playbooks/vhost_update.yml @@ -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