openqa: set base_url in openqa.ini

this is needed for openID auth to work properly - otherwise
ipsilon thinks the request is coming from 'https://localhost'
and redirect after auth fails. openQA uses this config setting
for the openID base URL if it's set.
This commit is contained in:
Adam Williamson 2015-12-01 14:53:46 -08:00
parent 8e8cd1c13c
commit 8f44bd34b7
2 changed files with 2 additions and 1 deletions

View file

@ -111,7 +111,7 @@
- config
- name: OpenQA config
copy: src=openqa.ini dest=/etc/openqa/openqa.ini owner=geekotest group=root mode=0640
template: src=openqa.ini.j2 dest=/etc/openqa/openqa.ini owner=geekotest group=root mode=0640
tags:
- config

View file

@ -1,5 +1,6 @@
[global]
branding = plain
base_url = https://{{ external_hostname }}
[auth]
method=OpenID