From: Ralf Jung Date: Sun, 3 Jun 2018 20:42:41 +0000 (+0200) Subject: fix mailman patch detection X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/4409ccb58a292c2774d1f35818c0918a7047f420?hp=281bf5d6e846e8b11deaecf3d4f17b3c10f5d670 fix mailman patch detection --- diff --git a/roles/email/tasks/mailman.yml b/roles/email/tasks/mailman.yml index 3cd4666..5d1288f 100644 --- a/roles/email/tasks/mailman.yml +++ b/roles/email/tasks/mailman.yml @@ -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'