This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-warehost/mailserver/tasks/spamassassin.yml

11 lines
240 B
YAML

---
- name: Spamassassin update
command: sa-update -v
register: bass_result
changed_when: "bass_result.rc != 1"
ignore_errors: yes
notify: restart spamassassin
- name: Enable spamassassin
service: name=spamassassin enabled=yes