diff --git a/common/tasks/dns.yml b/common/tasks/dns.yml
index ecbb435a22ebc3e713a7102330b8006e1fd57654..0a2d51a0a43abeb3eb9f0366e38a03f7052f1c88 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