spamassassin-textcat: Initial version of role

This commit is contained in:
Timo Makinen 2020-09-24 19:06:34 +00:00
parent e775b965c3
commit e0e38075f3
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
dependencies:
- {role: spamassassin}

View file

@ -0,0 +1,10 @@
---
- name: enable TextCat plugin
copy:
dest: /etc/mail/spamassassin/textcat.pre
content: "loadplugin Mail::Spamassassin::Plugin::TextCat\n"
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart spamassassin