Implemented location dedicated OAuth2 Proxy and solved other bugs

This commit is contained in:
2025-02-19 05:53:00 +01:00
parent e4502bbe54
commit 916cb6e314
17 changed files with 62 additions and 45 deletions

View File

@@ -9,7 +9,6 @@
- name: "Relevant variables for role: {{ role_path | basename }}"
debug:
msg:
oauth2_proxy_active: "{{oauth2_proxy_active}}"
domains: "{{domains}}"
applications: "{{applications}}"
when: enable_debug | bool
@@ -23,4 +22,4 @@
- name: "include the docker-oauth2-proxy role {{domain}}"
include_role:
name: docker-oauth2-proxy
when: oauth2_proxy_active | bool
when: applications[application_id].oauth2_proxy.enabled | default(false) | bool