So, myvms_new is not a var. It's a real (if temporary) group.

This commit is contained in:
Ralph Bean 2014-12-16 00:36:50 +00:00
parent 91ed6ce3d8
commit 02816cef3c

View file

@ -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