Prepare Koschei prod config for update to 1.7
This commit is contained in:
parent
cf9be64ded
commit
d1dfbf63b7
2 changed files with 5 additions and 4 deletions
|
@ -128,13 +128,11 @@
|
|||
src=koschei-refresh-group
|
||||
dest=/usr/local/bin/koschei-refresh-group
|
||||
mode=755
|
||||
when: env == 'staging'
|
||||
tags:
|
||||
- koschei
|
||||
|
||||
- name: Copy the group refresh cronjob
|
||||
template: src=cron-refresh-groups.j2 dest=/etc/cron.d/cron-refresh-groups
|
||||
when: env == 'staging'
|
||||
tags:
|
||||
- koschei
|
||||
- config
|
||||
|
|
|
@ -16,14 +16,17 @@
|
|||
Require all granted
|
||||
</Directory>
|
||||
|
||||
{% if env == 'staging' %}
|
||||
<Location /koschei/login>
|
||||
Require valid-user
|
||||
AuthType OpenID
|
||||
AuthOpenIDSingleIdP https://{{ koschei_openid_provider }}/
|
||||
{% if env == 'staging' %}
|
||||
AuthOpenIDServerName https://apps.stg.fedoraproject.org
|
||||
AuthOpenIDTrustRoot https://apps.stg.fedoraproject.org/koschei/
|
||||
{% else %}
|
||||
AuthOpenIDServerName https://apps.fedoraproject.org
|
||||
AuthOpenIDTrustRoot https://apps.fedoraproject.org/koschei/
|
||||
{% endif %}
|
||||
AuthOpenIDUseCookie off
|
||||
</Location>
|
||||
{% endif %}
|
||||
</VirtualHost>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue