From 6da30e33d72811c4312c5476ff9df5f77a93694e Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 29 Jun 2015 17:11:54 +0000 Subject: [PATCH] Try enabling that fedmsg plugin again. --- roles/mailman/tasks/main.yml | 26 +++++++++++++------------- roles/mailman/templates/mailman.cfg.j2 | 6 +++--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index 4ec7c285ab..fa20ad144f 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -74,19 +74,19 @@ tags: - packages -#- name: setup the mailman3-fedmsg repo -# copy: src=mailman3-fedmsg-plugin.RedHat.repo -# dest=/etc/yum.repos.d/mailman3-fedmsg-plugin.repo -# when: ansible_distribution == 'RedHat' -# -#- 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 -# when: ansible_distribution == 'RedHat' -# -#- name: install the mailman3 fedmsg plugin rpm -# yum: pkg=mailman3-fedmsg-plugin state=latest -# notify: restart mailman3 -# when: ansible_distribution == 'RedHat' +- name: setup the mailman3-fedmsg repo + copy: src=mailman3-fedmsg-plugin.RedHat.repo + dest=/etc/yum.repos.d/mailman3-fedmsg-plugin.repo + when: ansible_distribution == 'RedHat' + +- 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 + when: ansible_distribution == 'RedHat' + +- name: install the mailman3 fedmsg plugin rpm + yum: pkg=mailman3-fedmsg-plugin state=latest + notify: restart mailman3 + when: ansible_distribution == 'RedHat' - name: install packages when not using source extracts when: ansible_hostname != "lists-dev.cloud.fedoraproject.org" diff --git a/roles/mailman/templates/mailman.cfg.j2 b/roles/mailman/templates/mailman.cfg.j2 index 3299a03eac..123a270a28 100644 --- a/roles/mailman/templates/mailman.cfg.j2 +++ b/roles/mailman/templates/mailman.cfg.j2 @@ -32,9 +32,9 @@ class: mailman_hyperkitty.Archiver enable: yes configuration: {{ mailman_webui_confdir }}/mailman-hyperkitty.cfg -#[archiver.fedmsg] -#class: mailman3_fedmsg_plugin.Archiver -#enable: yes +[archiver.fedmsg] +class: mailman3_fedmsg_plugin.Archiver +enable: yes [archiver.prototype] enable: yes