diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-15 18:14:12 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-15 18:14:12 +0200 |
commit | 0f57d8f477bfe6d0ffd0d18e8c01f0aa141cdc2d (patch) | |
tree | cef0db3a3f5631eba6fb2e0a85ee49f28e2dabaf /roles/common/tasks | |
parent | 1555333a7b35e847f3a2cf75fa29b6a68d8e35fe (diff) |
Configure FreshClam.
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/clamav.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/common/tasks/clamav.yml b/roles/common/tasks/clamav.yml index f66689c..e1ece0d 100644 --- a/roles/common/tasks/clamav.yml +++ b/roles/common/tasks/clamav.yml @@ -5,6 +5,16 @@ - clamav-daemon - clamav-freshclam +- name: Configure FreshClam + lineinfile: "dest=/etc/clamav/freshclam.conf + line='DatabaseMirror {{ item }}'" + with_items: + - db.local.clamav.net + - database.clamav.net + - db.other.clamav.net + notify: + - Restart freshclam + - name: Start ClamAV service: name={{ item }} state=started with_items: |