waiverdb role: miscellaneous fixes
This commit is contained in:
parent
d05ec70a9b
commit
d57e04b839
3 changed files with 9 additions and 2 deletions
|
@ -5,4 +5,4 @@ waiverdb_oidc_token_uri: 'https://iddev.fedorainfracloud.org/openidc/Token'
|
||||||
waiverdb_oidc_client_id: 'D-eb5668aa-f962-4d9e-8131-4ef6d7840436'
|
waiverdb_oidc_client_id: 'D-eb5668aa-f962-4d9e-8131-4ef6d7840436'
|
||||||
waiverdb_oidc_client_secret: 'QctUSOfqot6-XQd7YG0DeIAI81wlc7oD'
|
waiverdb_oidc_client_secret: 'QctUSOfqot6-XQd7YG0DeIAI81wlc7oD'
|
||||||
waiverdb_oidc_token_introspection_uri: 'https://iddev.fedorainfracloud.org/openidc/TokenInfo'
|
waiverdb_oidc_token_introspection_uri: 'https://iddev.fedorainfracloud.org/openidc/TokenInfo'
|
||||||
waiverdb_oidc_userinfo_uri: 'https://iddev.fedorainfracloud.org/openidc/UserInfo"'
|
waiverdb_oidc_userinfo_uri: 'https://iddev.fedorainfracloud.org/openidc/UserInfo'
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
- include: psql_setup.yml
|
- include: psql_setup.yml
|
||||||
|
|
||||||
|
# Need to set selinux to permissive for now due to https://bugzilla.redhat.com/show_bug.cgi?id=1291940
|
||||||
|
- name: switch selinux to permissive
|
||||||
|
selinux: policy=targeted state=permissive
|
||||||
|
|
||||||
- name: install needed packages (yum)
|
- name: install needed packages (yum)
|
||||||
yum: pkg={{ item }} state=present
|
yum: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
|
|
@ -5,4 +5,7 @@ SECRET_KEY = '{{ stg_waiverdb_secret_key }}'
|
||||||
{% else %}
|
{% else %}
|
||||||
SECRET_KEY = '{{ dev_waiverdb_secret_key }}'
|
SECRET_KEY = '{{ dev_waiverdb_secret_key }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://waiverdb-user@:{{ waiverdb_db_port }}/waiverdb
|
SQLALCHEMY_DATABASE_URI = 'postgresql://waiverdb-user@:{{ waiverdb_db_port }}/waiverdb'
|
||||||
|
OIDC_CLIENT_SECRETS = '/etc/waiverdb/client_secrets.json'
|
||||||
|
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
|
||||||
|
OIDC_RESOURCE_SERVER_ONLY = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue