mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
Hubs: fixes related to the staging env
This commit is contained in:
@@ -21,6 +21,9 @@ config = {
|
||||
'fas_credentials': {
|
||||
'username': '{{ hubs_fas_username }}',
|
||||
'password': '{{ hubs_fas_password }}',
|
||||
{% if env == "staging" %}
|
||||
'base_url': "https://admin.stg.fedoraproject.org/accounts/",
|
||||
{% endif %}
|
||||
},
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@ SSE_URL = {
|
||||
{% if hubs_dev_mode %}
|
||||
"port": "8080",
|
||||
{% else %}
|
||||
{% if hubs_ssl_cert == None %}
|
||||
"scheme": "https", # Because of the SSL proxy
|
||||
{% endif %}
|
||||
"path": "/sse",
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user