From 02816cef3cbba479b175dc5fe66a85c33e28ec9f Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 16 Dec 2014 00:36:50 +0000 Subject: [PATCH] So, myvms_new is not a var. It's a real (if temporary) group. --- playbooks/vhost_reboot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/vhost_reboot.yml b/playbooks/vhost_reboot.yml index f5465b69b4..e2526af965 100644 --- a/playbooks/vhost_reboot.yml +++ b/playbooks/vhost_reboot.yml @@ -33,7 +33,7 @@ with_items: vmlist.list_vms # Call out to another playbook. Disable any proxies that may live here -- include: update-proxy-dns.yml status=disable target={{myvms_new}}:&proxies +- include: update-proxy-dns.yml status=disable target=myvms_new:&proxies - name: halt instances hosts: myvms_new @@ -105,7 +105,7 @@ ignore_errors: true # Call out to that dns playbook. Put proxies back in now that they're back -- include: update-proxy-dns.yml status=enable target={{myvms_new}}:&proxies +- include: update-proxy-dns.yml status=enable proxies=myvms_new:&proxies - name: Fix unbound if necessary # intersection - hosts that are in our dynamic group and also in unbound-dns