Copy empty dummy files instead of removing default files. For https://fedorahosted.org/fedora-infrastructure/ticket/4995.
This commit is contained in:
parent
87a5d3b374
commit
9fdaee131c
3 changed files with 10 additions and 4 deletions
3
roles/fedmsg/gateway/slave/files/endpoints.py
Normal file
3
roles/fedmsg/gateway/slave/files/endpoints.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
# This is empty on purpose. See:
|
||||
# https://fedorahosted.org/fedora-infrastructure/ticket/4995
|
||||
config = {}
|
3
roles/fedmsg/gateway/slave/files/gateway.py
Normal file
3
roles/fedmsg/gateway/slave/files/gateway.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
# This is empty on purpose. See:
|
||||
# https://fedorahosted.org/fedora-infrastructure/ticket/4995
|
||||
config = {}
|
|
@ -11,11 +11,11 @@
|
|||
- fedmsg/gateway
|
||||
- fedmsg/gateway/slave
|
||||
|
||||
- name: Drop endpoints.py and gateway.py from fedmsg
|
||||
file: name={{ item }} state=absent
|
||||
- name: Copy in empty endpoints.py and gateway.py
|
||||
copy: src={{item}} dest=/etc/fedmsg.d/{{item}}
|
||||
with_items:
|
||||
- /etc/fedmsg.d/endpoints.py
|
||||
- /etc/fedmsg.d/gateway.py
|
||||
- endpoints.py
|
||||
- gateway.py
|
||||
tags:
|
||||
- fedmsgdconfig
|
||||
- fedmsg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue