ansible-role-sso/tasks/hydra-oidc.yml

20 lines
511 B
YAML

---
- 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