commit 24475b11ed23d31d4013da411b3f8a9a6f1ecfc0
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 3 16:19:01 2016 +0100
Add vmhost condition
playbooks/groups/dns.yml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/playbooks/groups/dns.yml b/playbooks/groups/dns.yml
index 11ae328..ee69526 100644
--- a/playbooks/groups/dns.yml
+++ b/playbooks/groups/dns.yml
@@ -1,6 +1,7 @@
# create a new dns server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml
myhosts=dns"
+ when: vmhost is defined
- name: make the box be real
hosts: dns
Show replies by date