mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -27,6 +27,8 @@
|
||||
- { role: certbot,
|
||||
when: inventory_hostname == 'proxy01.phx2.fedoraproject.org' }
|
||||
- apache
|
||||
# Hack because I don't know where python2-fedmsg-consumers comes from
|
||||
- fedmsg/hotfix
|
||||
|
||||
tasks:
|
||||
- name: install special fpaste.conf with letsencrypt info
|
||||
|
||||
@@ -40,15 +40,6 @@
|
||||
notify:
|
||||
- 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
|
||||
service: name=fedmsg-gateway state=started enabled=true
|
||||
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
|
||||
Reference in New Issue
Block a user