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

20 lines
567 B
YAML

---
- name: Install cadoles-pod-hydra-passwordless-v1 package
ansible.builtin.apt:
name:
- "cadoles-pod-hydra-passwordless-v1={{ cadoles_pod_hydra_passwordless_v1_package_version }}"
update_cache: yes
state: present
become: true
- name: Configure cadoles-pod-hydra-passwordless-v1
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- src: cadoles-pod-hydra-passwordless-v1.conf.j2
dest: /etc/cadoles-pod-hydra-passwordless-v1.conf
notify:
- Restart cadoles-pod-hydra-passwordless-v1
become: true