openqa: add a dumb 'fixes' role to tweak fedmsg config
Ralph *mostly* fixed it, but the config we get from fedmsg/base still doesn't quite work, so this just hacks it up after that role's done. This will go away with a couple more fixes to the fedmsg/base role.
This commit is contained in:
parent
7e914a1d7b
commit
aa8cf397ee
2 changed files with 15 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
- { role: fedmsg/base, tags: ['fedmsg_base', 'fedmsg'] }
|
||||
- { role: fedmsg/relay, tags: ['fedmsg_relay', 'fedmsg'] }
|
||||
- { role: fedmsg/hub, tags: ['fedmsg_hub', 'fedmsg'] }
|
||||
- { role: openqa/fixes, tags: ['openqa_fixes'] }
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
|
14
roles/openqa/fixes/tasks/main.yml
Normal file
14
roles/openqa/fixes/tasks/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
# This file contains some temporary fixes for the fedmsg config on openQA
|
||||
# hosts, since the roles still aren't quite right for firewalled systems.
|
||||
|
||||
- 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)
|
||||
command: cp /etc/fedmsg.d/relay.py.rpmnew /etc/fedmsg.d/relay.py
|
||||
|
||||
- name: restart fedmsg services
|
||||
service: name={{ item }} state=restarted
|
||||
with_items:
|
||||
- fedmsg-hub
|
||||
- fedmsg-relay
|
Loading…
Add table
Add a link
Reference in a new issue