mailman: fix yamllint issues

Resolve the following yamllint warnings and error:

  124:101   warning  line too long (109 > 100 characters)  (line-length)
  155:101   warning  line too long (140 > 100 characters)  (line-length)
  178:2     warning  missing starting space in comment  (comments)
  196:2     warning  missing starting space in comment  (comments)
  304:6     warning  missing starting space in comment  (comments)
  549:2     warning  missing starting space in comment  (comments)
  627:1     error    trailing spaces  (trailing-spaces)

Signed-off-by: Todd Zullinger <tmz@pobox.com>
This commit is contained in:
Todd Zullinger 2023-05-09 16:52:23 -04:00 committed by kevin
parent 2df71d95cb
commit ec5ccca81b

View file

@ -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