Add endpoints for the badges awarder.
This commit is contained in:
parent
6e2dc648f6
commit
5c8061f6a5
2 changed files with 14 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- datanommer.py
|
- datanommer.py
|
||||||
- badges-awarder.py
|
- badges-awarder.py
|
||||||
|
- endpoints-fedbadges.py
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
notify:
|
notify:
|
||||||
|
|
13
roles/badges-backend/templates/endpoints-fedbadges.py
Normal file
13
roles/badges-backend/templates/endpoints-fedbadges.py
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
suffix = 'stg.phx2.fedoraproject.org'
|
||||||
|
{% else %}
|
||||||
|
suffix = 'phx2.fedoraproject.org'
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
config = dict(
|
||||||
|
endpoints={
|
||||||
|
"fedbadges.badges-backend01": [
|
||||||
|
"tcp://badges-backend01.%s:3000",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
)
|
Loading…
Add table
Add a link
Reference in a new issue