diff --git a/playbooks/groups/resultsdb-stg.yml b/playbooks/groups/resultsdb-stg.yml index 186317be86..75b82224b0 100644 --- a/playbooks/groups/resultsdb-stg.yml +++ b/playbooks/groups/resultsdb-stg.yml @@ -47,6 +47,7 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml roles: + - { role: taskotron/resultsdb-fedmsg, tags: ['resultsdb-fedmsg']} - { role: taskotron/resultsdb-backend, tags: ['resultsdb-be'] } - { role: taskotron/resultsdb-frontend, tags: ['resultsdb-fe'] } - { role: taskotron/execdb, tags: ['execdb'] } diff --git a/roles/taskotron/resultsdb-fedmsg/files/resultsdb.py b/roles/taskotron/resultsdb-fedmsg/files/resultsdb.py new file mode 100644 index 0000000000..4c301e3867 --- /dev/null +++ b/roles/taskotron/resultsdb-fedmsg/files/resultsdb.py @@ -0,0 +1,8 @@ +config = { + # This should switch fedmsg from passive mode to active mode + # which instructs it to connect out to the fedmsg-relay instance described + # in /etc/fedmsg.d/relay.py instead of binding to ports and waiting for + # listeners. We need this so that we can push our messages on to the + # fedora-infra proper bus from over in the QA network. + active=True, +} diff --git a/roles/taskotron/resultsdb-fedmsg/tasks/main.yml b/roles/taskotron/resultsdb-fedmsg/tasks/main.yml new file mode 100644 index 0000000000..4102cd1b3a --- /dev/null +++ b/roles/taskotron/resultsdb-fedmsg/tasks/main.yml @@ -0,0 +1 @@ +- copy: src=resultsdb.py dest=/etc/fedmsg.d/resultsdb.py