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.
2016-11-25 00:04:34 +01:00
|
|
|
---
|
|
|
|
- name: Spamassassin update
|
2016-12-29 06:00:45 +01:00
|
|
|
command: /usr/bin/vendor_perl/sa-update -v
|
2016-11-25 00:04:34 +01:00
|
|
|
register: bass_result
|
|
|
|
changed_when: "bass_result.rc != 1"
|
|
|
|
ignore_errors: yes
|
|
|
|
notify: restart spamassassin
|
|
|
|
|
|
|
|
- name: Enable spamassassin
|
|
|
|
service: name=spamassassin enabled=yes
|