From a51261d0be931e480aadc98b2647c336deaf6846 Mon Sep 17 00:00:00 2001 From: nicoo Date: Thu, 6 Feb 2020 18:17:19 +0100 Subject: [PATCH] base: Only install haveged on physical machines Doing otherwise would conflict with vm/guest. Installing it only in vm/host is insufficient: we have physical machines that aren't used as hypervisors, such as wuerfel. --- ansible/roles/base/tasks/02debian.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible/roles/base/tasks/02debian.yml b/ansible/roles/base/tasks/02debian.yml index 7aef268..3154ef4 100644 --- a/ansible/roles/base/tasks/02debian.yml +++ b/ansible/roles/base/tasks/02debian.yml @@ -16,7 +16,6 @@ - tcpdump - debian-goodies - lsof - - haveged - net-tools - screen - aptitude @@ -30,6 +29,12 @@ - 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: -- 1.7.10.4