diff --git a/roles/openqa/dispatcher/templates/schedule.conf.j2 b/roles/openqa/dispatcher/templates/schedule.conf.j2 index b7fdf2e060..ab79ae819d 100644 --- a/roles/openqa/dispatcher/templates/schedule.conf.j2 +++ b/roles/openqa/dispatcher/templates/schedule.conf.j2 @@ -1,5 +1,5 @@ [report] -openqa_url: {{ external_hostname|default(ansible_nodename) }} +openqa_url: https://{{ external_hostname|default(ansible_nodename) }} {% if wikitcms_user is defined and wikitcms_password is defined %} submit_wiki: true submit_resultsdb: true @@ -7,3 +7,8 @@ submit_resultsdb: true submit_wiki: false submit_resultsdb: false {% endif %} +{% if deployment_type is defined and deployment_type == 'prod' %} +resultsdb_url: http://resultsdb01.qa.fedoraproject.org/resultsdb_api/api/v2.0/ +{% elif deployment_type is defined and deployment_type == 'stg' %} +resultsdb_url: http://resultsdb-stg01.qa.fedoraproject.org/resultsdb_api/api/v2.0/ +{% endif %}