don't re-patch (manually) patched mailman
authorRalf Jung <post@ralfj.de>
Mon, 27 Apr 2020 11:53:07 +0000 (13:53 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 27 Apr 2020 11:53:07 +0000 (13:53 +0200)
roles/email/tasks/mailman.yml

index 5d1288fdee2f8c9244e502cd6aa6809d5dcb9cab..0988edb2e7137cbe16b572f054714e40115b66aa 100644 (file)
@@ -33,6 +33,7 @@
   - Cgi/listinfo.py
   - Cgi/subscribe.py
   - Captcha.py
   - Cgi/listinfo.py
   - Cgi/subscribe.py
   - Captcha.py
+  when: mailman_patched.rc != 0
 - name: install patched templates
   copy:
     dest: /etc/mailman/{{item}}
 - name: install patched templates
   copy:
     dest: /etc/mailman/{{item}}