fix mailman patch detection
authorRalf Jung <post@ralfj.de>
Sun, 3 Jun 2018 20:42:41 +0000 (22:42 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 3 Jun 2018 20:42:41 +0000 (22:42 +0200)
roles/email/tasks/mailman.yml

index 3cd4666..5d1288f 100644 (file)
@@ -16,6 +16,7 @@
   args:
     chdir: /usr/lib/mailman/Mailman
   changed_when: False
+  failed_when: mailman_patched.rc == 2
   register: mailman_patched
 - name: check if all the files have the right checksums to be patched
   shell: 'echo "{{item}}" | sha256sum -c'