diff --git a/playbooks/vhost_reboot.yml b/playbooks/vhost_reboot.yml index 320e190dff..60d40994fd 100644 --- a/playbooks/vhost_reboot.yml +++ b/playbooks/vhost_reboot.yml @@ -34,7 +34,7 @@ with_items: "{{ vmlist.list_vms }}" # Call out to another playbook. Disable any proxies that may live here -- include_playbook: update-proxy-dns.yml status=disable proxies=myvms_new:&proxies +- include: update-proxy-dns.yml status=disable proxies=myvms_new:&proxies when: nodns is not defined or not "true" in nodns - name: halt instances @@ -103,7 +103,7 @@ when: nonagios is not defined or not nonagios # Call out to that dns playbook. Put proxies back in now that they're back -- include_playbook: update-proxy-dns.yml status=enable proxies=myvms_new:&proxies +- include: update-proxy-dns.yml status=enable proxies=myvms_new:&proxies when: nodns is not defined or not nodns - name: Fix unbound if necessary