mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 21:10:20 +08:00
Play nicely with the magic that bodhi adds on top of fedmsg magic
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -19,12 +19,14 @@ metadata:
|
||||
data:
|
||||
bodhi-openshift-web.py: |-
|
||||
import socket
|
||||
hostname = socket.gethostname().split('.', 1)[0]
|
||||
config = {
|
||||
'sign_messages': True,
|
||||
'active': True,
|
||||
'cert_prefix': 'bodhi',
|
||||
'certnames': {'bodhi.{}'.format(socket.gethostname()): 'bodhi'},
|
||||
'relay_inbound': ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'],
|
||||
'bodhi.%s' % hostname: ['tcp://busgateway01.stg.phx2.fedoraproject.org:9941'],
|
||||
{% if env == 'staging' %}
|
||||
'environment': 'stg',
|
||||
# stg should listen to the stg bus
|
||||
|
||||
Reference in New Issue
Block a user