[FMN] Update fasjson configuration
The new version of FMN is completely ported to python3, so we can remove some python2 related things, also enable fasjson for staging. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
c5e21e120f
commit
be40e404a0
2 changed files with 5 additions and 6 deletions
|
@ -55,7 +55,7 @@
|
|||
- tasks.py
|
||||
- util.py
|
||||
when:
|
||||
inventory_hostname.startswith('notifs-backend01.iad')
|
||||
inventory_hostname.startswith('notifs-backend01.iad') or env != 'staging'
|
||||
tags:
|
||||
- notifs
|
||||
- notifs/backend
|
||||
|
|
|
@ -91,21 +91,20 @@ config = {
|
|||
# The notification backend uses this to build a fas cache of ircnicks
|
||||
# to fas usernames so it can act appropriately on certain message types.
|
||||
{% if env == 'staging' -%}
|
||||
"fas_credentials": {
|
||||
"username": "{{fedoraDummyUser}}",
|
||||
"password": "{{fedoraDummyUserPassword}}",
|
||||
"base_url": "https://accounts.stg.fedoraproject.org",
|
||||
"fasjson": {
|
||||
"active": True,
|
||||
"url": "https://fasjson.stg.fedoraproject.org/"
|
||||
},
|
||||
{% else -%}
|
||||
"fasjson": {
|
||||
"active": True,
|
||||
"url": "https://fasjson.fedoraproject.org/"
|
||||
},
|
||||
{% endif %}
|
||||
"fas_credentials": {
|
||||
"username": "{{fedoraDummyUser}}",
|
||||
"password": "{{fedoraDummyUserPassword}}",
|
||||
},
|
||||
{% endif %}
|
||||
|
||||
|
||||
## Backend stuff ##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue