diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-05-14 23:36:32 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:53:41 +0200 |
commit | 2cd52fbc96b1e3d2809f0d660c62d52c662ab34b (patch) | |
tree | 627b33e447c8e7700a1b9cca95d661c4c1369a7b /roles | |
parent | 31fbba5a601fd60a05f44175a4de1f4c9950bd8d (diff) |
Don't instal smartd on KVM guests.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/common/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index c17ecc2..3b3c0a5 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -13,7 +13,7 @@ - include: clamav.yml tags=clamav - include: fail2ban.yml tags=fail2ban - include: smart.yml tags=smartmontools,smart - when: "not (ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'xen')" + when: "not ((ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'xen') or ansible_system_vendor == 'QEMU')" - include: haveged.yml tags=haveged,entropy - name: Copy genkeypair.sh copy: src=usr/local/bin/genkeypair.sh |