base: Only install haveged on physical machines
[noc.git] / ansible / roles / base / tasks / 02debian.yml
index 7aef268..3154ef4 100644 (file)
@@ -16,7 +16,6 @@
       - tcpdump
       - debian-goodies
       - lsof
-      - haveged
       - net-tools
       - screen
       - aptitude
       - lshw
     state: present
 
+- name: Install haveged on physical machines
+  when: "'virtualservers' not in group_names"
+  apt:
+    name: haveged
+    state: present
+
 - name: make sure grml-(etc|scripts)-core is not installed
   apt:
     name: