From 36af79bb1dc118fb7c88358515942bb00cfa978d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 5 Dec 2017 02:31:18 +0000 Subject: [PATCH] use include here for now --- 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 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