vhost_reboot: update for newer syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f3c44a3ca3
commit
94a5911577
1 changed files with 4 additions and 6 deletions
|
@ -34,7 +34,8 @@
|
||||||
with_items: "{{ vmlist.list_vms }}"
|
with_items: "{{ vmlist.list_vms }}"
|
||||||
|
|
||||||
# Call out to another playbook. Disable any proxies that may live here
|
# Call out to another playbook. Disable any proxies that may live here
|
||||||
- import_playbook: update-proxy-dns.yml
|
- name: update proxy dns if needed
|
||||||
|
import_playbook: update-proxy-dns.yml
|
||||||
vars:
|
vars:
|
||||||
status: enable
|
status: enable
|
||||||
proxies: myvms_new:&proxies
|
proxies: myvms_new:&proxies
|
||||||
|
@ -149,16 +150,13 @@
|
||||||
when: inventory_hostname.startswith('rabbitmq')
|
when: inventory_hostname.startswith('rabbitmq')
|
||||||
|
|
||||||
# Call out to that dns playbook. Put proxies back in now that they're back
|
# Call out to that dns playbook. Put proxies back in now that they're back
|
||||||
- import_playbook: update-proxy-dns.yml
|
- name: update proxy dns if needed
|
||||||
|
import_playbook: update-proxy-dns.yml
|
||||||
vars:
|
vars:
|
||||||
status: enable
|
status: enable
|
||||||
proxies: myvms_new:&proxies
|
proxies: myvms_new:&proxies
|
||||||
when: nodns is not defined or not nodns
|
when: nodns is not defined or not nodns
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
# - name: get info on guests (postreboot)
|
# - name: get info on guests (postreboot)
|
||||||
# virt: command=info
|
# virt: command=info
|
||||||
# register: vminfo_post
|
# register: vminfo_post
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue