Possibilité de personnaliser les variables COOKIE_PATH d'hydra-dispatcher & hydra-remote-user

This commit is contained in:
2022-08-02 16:56:06 +02:00
parent a74635f6cf
commit cd86b6d29a
7 changed files with 36 additions and 12 deletions

View File

@ -92,6 +92,10 @@
ansible.builtin.include_tasks: hydra-saml.yml
when: enable_hydra_saml
- name: Sart OIDC Test app if enabled
ansible.builtin.include_tasks: oidc-test.yml
- name: Start OIDC Test app if enabled
ansible.builtin.include_tasks: start-oidc-test.yml
when: enable_oidc_test_app
- name: Stop OIDC Test app if disabled
ansible.builtin.include_tasks: stop-oidc-test.yml
when: not enable_oidc_test_app

13
tasks/stop-oidc-test.yml Normal file
View File

@ -0,0 +1,13 @@
- name: Create oidc-test OpenID Connect client configuration
file:
path: "/etc/hydra/clients.d/{{ oidc_test_app_client_id }}.json"
state: absent
notify:
- Reload hydra clients
become: true
- name: Stop oidc-test app
containers.podman.podman_container:
name: oidc-test
state: absent
become: true