openqa/fixes: don't do the relay fix on prod

i think the relay 'fix' is only needed for stg, because there
was a firewall rule added for prod but not stg. It's not really
a 'fix' either (it'll stop messages getting out) but it at
least prevents fedmsg-relay failing, so keep it for now.
This commit is contained in:
Adam Williamson 2016-03-10 17:18:51 -08:00
parent 1a33048416
commit 52c2bb1cc0

View file

@ -4,8 +4,9 @@
- name: remove internal message source policy
file: path=/etc/fedmsg.d/policy.py state=absent
- name: use packaged relay.py, not ansible one (which doesn't work)
- name: use packaged relay.py, not ansible one (just till firewall is fixed)
command: cp /etc/fedmsg.d/relay.py.rpmnew /etc/fedmsg.d/relay.py
when: fedmsg_env == "stg"
- name: restart fedmsg services
service: name={{ item }} state=restarted