summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/clamav.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-04 21:00:57 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:31 +0200
commite871994959fccba3051d451f6e00c33a11370a00 (patch)
tree8af963866b6ffd2ae660642d2bdd1a3e11bda7d1 /roles/common/tasks/clamav.yml
parente98d17cca0011ead0bb89c7674a2209760dce59f (diff)
Install ClamAV.
Diffstat (limited to 'roles/common/tasks/clamav.yml')
-rw-r--r--roles/common/tasks/clamav.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/common/tasks/clamav.yml b/roles/common/tasks/clamav.yml
new file mode 100644
index 0000000..f66689c
--- /dev/null
+++ b/roles/common/tasks/clamav.yml
@@ -0,0 +1,12 @@
+- name: Install ClamAV
+ apt: pkg={{ item }}
+ with_items:
+ - clamav
+ - clamav-daemon
+ - clamav-freshclam
+
+- name: Start ClamAV
+ service: name={{ item }} state=started
+ with_items:
+ - clamav-daemon
+ - clamav-freshclam