Disable some mailing lists from being published to fedmsg.
This commit is contained in:
parent
d483db0bd4
commit
2d3f7a289c
2 changed files with 15 additions and 0 deletions
8
roles/mailman/files/fedmsg-plugin-conf.py
Normal file
8
roles/mailman/files/fedmsg-plugin-conf.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
config = {
|
||||||
|
# These are mailing lists that we don't publish to fedmsg (because spam)
|
||||||
|
'mailman.excluded_lists' = [
|
||||||
|
'scm-commits',
|
||||||
|
#'i18n-bugs',# disable this eventually
|
||||||
|
#'fonts-bugs', # disable this eventually
|
||||||
|
],
|
||||||
|
}
|
|
@ -122,6 +122,13 @@
|
||||||
when: ansible_distribution == 'RedHat'
|
when: ansible_distribution == 'RedHat'
|
||||||
tags: mailman
|
tags: mailman
|
||||||
|
|
||||||
|
- name: copy in our fedmsg-plugin conf file
|
||||||
|
copy: src=fedmsg-plugin-conf.py dest=/etc/fedmsg.d/fedmsg-plugin-conf.py
|
||||||
|
tags:
|
||||||
|
- fedmsgdconfig
|
||||||
|
- mailman
|
||||||
|
notify: restart mailman3
|
||||||
|
|
||||||
- name: install packages when not using source extracts
|
- name: install packages when not using source extracts
|
||||||
when: ansible_hostname != "lists-dev.cloud.fedoraproject.org"
|
when: ansible_hostname != "lists-dev.cloud.fedoraproject.org"
|
||||||
yum: pkg={{ item }} state=present
|
yum: pkg={{ item }} state=present
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue