From 936bb6625c37254a90191be61df05237860db8d0 Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Thu, 1 Jun 2017 13:13:54 +0200
Subject: [PATCH] ensure that we can update just the group all without breakage

---
 common/tasks/dns.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/tasks/dns.yml b/common/tasks/dns.yml
index ecbb435..0a2d51a 100644
--- a/common/tasks/dns.yml
+++ b/common/tasks/dns.yml
@@ -17,7 +17,7 @@
 
 - name: ensure the hostname is not a fqdn for non-hypervisors
   hostname: name="{{ inventory_hostname }}"
-  when: not (inventory_hostname in groups['vm-hosts']) and not (inventory_hostname in groups['vm-master'])
+  when: not (inventory_hostname in groups['vm-hosts']) and not (inventory_hostname == 'cloud')
   tags:
     - dns
     - network
-- 
GitLab