Solved oauth2 bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-09 22:45:08 +02:00
parent f3439861bb
commit 41d023abee
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 4 additions and 5 deletions

View File

@ -32,6 +32,5 @@
when: applications | is_feature_enabled('oauth2',application_id)
- name: "include the web-app-oauth2-proxy role {{domain}}"
include_role:
name: web-app-oauth2-proxy
include_tasks: "{{ playbook_dir }}/roles/web-app-oauth2-proxy/tasks/main.yml"
when: applications | is_feature_enabled('oauth2',application_id)

View File

@ -1,6 +1,6 @@
- name: "Transfering oauth2-proxy-keycloak.cfg.j2 to {{(path_docker_compose_instances | get_docker_compose(oauth2_proxy_application_id)).directories.volumes}}"
- name: "Transfering oauth2-proxy-keycloak.cfg.j2 to {{(path_docker_compose_instances | get_docker_compose(application_id)).directories.volumes}}"
template:
src: oauth2-proxy-keycloak.cfg.j2
dest: "{{(path_docker_compose_instances | get_docker_compose(oauth2_proxy_application_id)).directories.volumes}}{{applications[application_id].configuration_file}}"
src: "{{ playbook_dir }}/roles/web-app-oauth2-proxy/templates/oauth2-proxy-keycloak.cfg.j2"
dest: "{{(path_docker_compose_instances | get_docker_compose(application_id)).directories.volumes}}{{applications['oauth2-proxy'].configuration_file}}"
notify:
- docker compose up