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

20 lines
511 B
YAML
Raw Permalink Normal View History

2022-08-25 20:32:15 +02:00
---
- name: Install cadoles-pod-hydra-ldap-v1 package
ansible.builtin.apt:
name:
- "cadoles-pod-hydra-ldap-v1={{ cadoles_pod_hydra_ldap_v1_package_version }}"
update_cache: yes
state: present
become: true
- name: Configure cadoles-pod-hydra-ldap-v1
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- src: cadoles-pod-hydra-ldap-v1.conf.j2
dest: /etc/cadoles-pod-hydra-ldap-v1.conf
notify:
- Restart cadoles-pod-hydra-ldap-v1
become: true