testing failed_when

This commit is contained in:
Mende
2020-12-08 09:04:48 +01:00
parent 7071be9050
commit e86c10a072
+2
View File
@@ -7,11 +7,13 @@
- name: "Update Heinlein SA Rules"
command: sa-update --nogpg --channel spamassassin.heinlein-support.de
failed_when: stdout_lines != []
notify:
- "restart spamassassin"
- name: "Update Spamassassin SA Rules"
command: sa-update --channel updates.spamassassin.org
failed_when: stdout_lines != []
notify:
- "restart spamassassin"