only redirect to https if we have letsencrypt
[ansible.git] / roles / email / tasks / mailman.yml
index b9c177e6d6af0f1eaef92af985363520606b3195..5d1288fdee2f8c9244e502cd6aa6809d5dcb9cab 100644 (file)
@@ -16,6 +16,7 @@
   args:
     chdir: /usr/lib/mailman/Mailman
   changed_when: False
   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'
   register: mailman_patched
 - name: check if all the files have the right checksums to be patched
   shell: 'echo "{{item}}" | sha256sum -c'
@@ -38,4 +39,6 @@
     src: files/mailman-patched/{{item}}
   loop:
   - de/listinfo.html
     src: files/mailman-patched/{{item}}
   loop:
   - de/listinfo.html
+  - de/subscribeack.txt
   - en/listinfo.html
   - en/listinfo.html
+  - en/subscribeack.txt