diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 5fa0241152..cfdf60ae4f 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -141,7 +141,8 @@ tags: mailman - name: add the GPG key for the mailman3-fedmsg-plugin repo - rpm_key: state=present key=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/pubkey.gpg + rpm_key: state=present + key=https://copr-be.cloud.fedoraproject.org/results/ralph/fedmsg-python34/pubkey.gpg when: ansible_distribution == 'RedHat' tags: mailman @@ -172,7 +173,8 @@ ## see issue https://pagure.io/fedora-infrastructure/issue/8824 ## see upstream merge request https://gitlab.com/mailman/mailman/-/merge_requests/350 - name: hotfix - let mailman cope with e-mails containing broken unicode - patch: src={{ files }}/hotfix/mailman3/mailman3-broken-unicode-emails.patch dest=/usr/lib/python3.4/site-packages/mailman/email/message.py + patch: src={{ files }}/hotfix/mailman3/mailman3-broken-unicode-emails.patch + dest=/usr/lib/python3.4/site-packages/mailman/email/message.py notify: - restart mailman3 - reload apache @@ -195,13 +197,13 @@ # # Initialize mailman (must be done after settings up the DBs) # -#- name: add mailman to the apache group -# user: name=mailman groups=apache append=yes -# tags: -# - config -# - mailman -# #notify: -# # - restart mailman3 +# - name: add mailman to the apache group +# user: name=mailman groups=apache append=yes +# tags: +# - config +# - mailman +# #notify: +# # - restart mailman3 # access to the aliases files generated by mailman - name: add postfix to the mailman group @@ -213,13 +215,13 @@ - restart postfix ## for access to the full-text index -#- name: add apache to the mailman group -# user: name=apache groups=mailman append=yes -# tags: -# - config -# - mailman -# notify: -# - reload httpd +# - name: add apache to the mailman group +# user: name=apache groups=mailman append=yes +# tags: +# - config +# - mailman +# notify: +# - reload httpd - name: set the mailman conffile template: src={{ item }} dest=/etc/mailman.cfg @@ -321,7 +323,7 @@ - mailman notify: - reload apache - #- restart mailman3 + # - restart mailman3 - name: install the hyperkitty settings admin file template: src=settings_admin.py.j2 @@ -566,9 +568,9 @@ ## Postfix -#- name: create the postfix aliases -# command: su mailman -s /bin/sh -c "mailman3 aliases" -# creates=/var/lib/mailman3/data/postfix_lmtp.db +# - name: create the postfix aliases +# command: su mailman -s /bin/sh -c "mailman3 aliases" +# creates=/var/lib/mailman3/data/postfix_lmtp.db # Memcached @@ -644,4 +646,3 @@ tags: - pagure - logrotate -