[Pagure] Use correct staging env variable

Also change the client_secrets.json permissions to match pagure.cfg.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2023-07-18 14:39:03 +02:00
parent ec843a62c1
commit e54dae6574
2 changed files with 2 additions and 2 deletions

View file

@ -351,7 +351,7 @@
- name: Install client_secrets for ipsilon
template: src=client_secrets.json
dest=/etc/pagure
owner=root group=root mode=0600
owner=git group=postfix mode=0640
tags:
- config
- web

View file

@ -196,7 +196,7 @@ DISABLED_PLUGINS = ['IRC']
# Specify which authentication method to use, defaults to `fas` can be or
# `local`
# Default: ``fas``.
{% if env == 'staging' %}
{% if env == 'pagure-staging' %}
PAGURE_AUTH = 'oidc'
OIDC_CLIENT_SECRETS = "/etc/pagure/client_secrets.json"
{% else %}