From: nicoo Date: Thu, 6 Feb 2020 17:17:19 +0000 (+0100) Subject: base: Only install haveged on physical machines X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=refs%2Fheads%2Fno-rngd-no-more;p=noc.git 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. --- 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: