spamassassin-clamav: Initial version of role
This commit is contained in:
parent
8cea9f7e5f
commit
757553ef89
4 changed files with 146 additions and 0 deletions
19
roles/spamassassin-clamav/tasks/main.yml
Normal file
19
roles/spamassassin-clamav/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue