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:
parent
1a33048416
commit
52c2bb1cc0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue