feat: hydra-oidc deployment
This commit is contained in:
20
tasks/hydra-oidc.yml
Normal file
20
tasks/hydra-oidc.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
- name: Install cadoles-pod-hydra-oidc-v1 package
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- "cadoles-pod-hydra-oidc-v1={{ cadoles_pod_hydra_oidc_v1_package_version }}"
|
||||
update_cache: yes
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- name: Configure cadoles-pod-hydra-oidc-v1
|
||||
template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
with_items:
|
||||
- src: cadoles-pod-hydra-oidc-v1.conf.j2
|
||||
dest: /etc/cadoles-pod-hydra-oidc-v1.conf
|
||||
notify:
|
||||
- Restart cadoles-pod-hydra-oidc-v1
|
||||
become: true
|
@ -95,6 +95,10 @@
|
||||
ansible.builtin.include_tasks: hydra-saml.yml
|
||||
when: enable_hydra_saml
|
||||
|
||||
- name: Configure OIDC authentification if enabled
|
||||
ansible.builtin.include_tasks: hydra-oidc.yml
|
||||
when: enable_hydra_oidc
|
||||
|
||||
- name: Start OIDC Test app if enabled
|
||||
ansible.builtin.include_tasks: start-oidc-test.yml
|
||||
when: enable_oidc_test_app
|
||||
|
@ -18,7 +18,7 @@
|
||||
- name: Start oidc-test app
|
||||
containers.podman.podman_container:
|
||||
name: oidc-test
|
||||
image: docker.io/bornholm/oidc-test:v0.0.0-4-gd786d3a
|
||||
image: docker.io/bornholm/oidc-test:v0.0.0-6-g96f1f8f
|
||||
state: started
|
||||
network: host
|
||||
restart_policy: on-failure
|
||||
|
Reference in New Issue
Block a user