From a8b8f41446c7abead848781d67f3d334cbdb5713 Mon Sep 17 00:00:00 2001 From: "m.lettere" Date: Fri, 11 Jun 2021 09:14:12 +0200 Subject: [PATCH] changed oauth2 strategy to work around multiple role bug --- roles/conductor/templates/oauth2_auth.cfg.j2 | 2 +- site-pre.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/conductor/templates/oauth2_auth.cfg.j2 b/roles/conductor/templates/oauth2_auth.cfg.j2 index 73938a4..24798b4 100644 --- a/roles/conductor/templates/oauth2_auth.cfg.j2 +++ b/roles/conductor/templates/oauth2_auth.cfg.j2 @@ -17,7 +17,7 @@ "PUT /(.*) admin", "DELETE /(.*) admin", "GET /api/(.*) *", - "GET /(.*) viewer,admin" + "GET /(.*) viewer" ] } diff --git a/site-pre.yaml b/site-pre.yaml index 3947368..96244af 100644 --- a/site-pre.yaml +++ b/site-pre.yaml @@ -1,6 +1,5 @@ --- - hosts: pre_infra -#- hosts: localhost vars_files: - roles/workers/defaults/smtp.yaml - roles/pep/defaults/pep_credentials.yaml