spamassassin-clamav: Initial version of role

This commit is contained in:
Timo Makinen 2020-09-24 18:43:06 +00:00
parent 8cea9f7e5f
commit 757553ef89
4 changed files with 146 additions and 0 deletions

View file

@ -0,0 +1,19 @@
---
- name: copy clamav plugin
copy:
src: ClamAV.pm
dest: /etc/mail/spamassassin/ClamAV.pm
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart spamassassin
- name: create spamassassin config
copy:
src: clamav.cf
dest: /etc/mail/spamassassin/clamav.cf
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart spamassassin