So, myvms_new is not a var. It's a real (if temporary) group.
This commit is contained in:
parent
91ed6ce3d8
commit
02816cef3c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue