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

20 lines
567 B
YAML
Raw Permalink Normal View History

2022-07-19 14:26:08 +02:00
---
- name: Install cadoles-pod-hydra-passwordless-v1 package
ansible.builtin.apt:
name:
2022-07-21 14:19:23 +02:00
- "cadoles-pod-hydra-passwordless-v1={{ cadoles_pod_hydra_passwordless_v1_package_version }}"
2022-07-19 14:26:08 +02:00
update_cache: yes
2022-07-21 14:19:23 +02:00
state: present
become: true
2022-07-19 14:26:08 +02:00
- 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