try this instead because I have no idea what brings python2-fedmsg-consumers in
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
8b26599cfe
commit
4ba623caba
4 changed files with 11 additions and 9 deletions
|
@ -27,6 +27,8 @@
|
||||||
- { role: certbot,
|
- { role: certbot,
|
||||||
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org' }
|
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org' }
|
||||||
- apache
|
- apache
|
||||||
|
# Hack because I don't know where python2-fedmsg-consumers comes from
|
||||||
|
- fedmsg/hotfix
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: install special fpaste.conf with letsencrypt info
|
- name: install special fpaste.conf with letsencrypt info
|
||||||
|
|
|
@ -40,15 +40,6 @@
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-gateway
|
- restart fedmsg-gateway
|
||||||
|
|
||||||
- name: "[HOTFIX] Fix consumers/__init__.py"
|
|
||||||
copy: src=consumers-init.py dest=/usr/lib/python2.7/site-packages/fedmsg/consumers/__init__.py
|
|
||||||
tags:
|
|
||||||
- fedmsg/gateway
|
|
||||||
- hotfix
|
|
||||||
when: inventory_hostname.startswith(('proxy11', 'proxy12', 'proxy13'))
|
|
||||||
notify:
|
|
||||||
- restart fedmsg-gateway
|
|
||||||
|
|
||||||
- name: enable on boot and start fedmsg-gateway
|
- name: enable on boot and start fedmsg-gateway
|
||||||
service: name=fedmsg-gateway state=started enabled=true
|
service: name=fedmsg-gateway state=started enabled=true
|
||||||
tags:
|
tags:
|
||||||
|
|
9
roles/fedmsg/hotfix/tasks/main.yml
Normal file
9
roles/fedmsg/hotfix/tasks/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
- name: "[HOTFIX] Fix consumers/__init__.py"
|
||||||
|
copy: src=consumers-init.py dest=/usr/lib/python2.7/site-packages/fedmsg/consumers/__init__.py
|
||||||
|
tags:
|
||||||
|
- fedmsg/gateway
|
||||||
|
- hotfix
|
||||||
|
when: inventory_hostname.startswith(('proxy11', 'proxy12', 'proxy13'))
|
||||||
|
notify:
|
||||||
|
- restart fedmsg-gateway
|
Loading…
Add table
Add a link
Reference in a new issue