--- - 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