Compare commits
No commits in common. "2f464faff33ae78d5510abf6920af51e0fc311de" and "d259417d47a39fbf9e34fd181291e1434a1b7d1c" have entirely different histories.
2f464faff3
...
d259417d47
|
@ -121,4 +121,4 @@
|
||||||
validate: "haproxy -c -f %s"
|
validate: "haproxy -c -f %s"
|
||||||
notify:
|
notify:
|
||||||
- Restart HAProxy
|
- Restart HAProxy
|
||||||
become: true
|
become: true
|
|
@ -1,31 +0,0 @@
|
||||||
---
|
|
||||||
# Simple task to update the package/container cadoles-pod-hydra only.
|
|
||||||
- name: Install hydra package
|
|
||||||
ansible.builtin.apt:
|
|
||||||
name:
|
|
||||||
- cadoles-pod-hydra-v1={{ cadoles_pod_hydra_v1_package_version }}
|
|
||||||
update_cache: yes
|
|
||||||
state: present
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Configure cadoles-pod-hydra-v1
|
|
||||||
template:
|
|
||||||
src: "{{ item.src }}"
|
|
||||||
dest: "{{ item.dest }}"
|
|
||||||
mode: "{{ item.mode }}"
|
|
||||||
with_items:
|
|
||||||
- src: cadoles-pod-hydra-v1.conf.j2
|
|
||||||
dest: /etc/cadoles-pod-hydra-v1.conf
|
|
||||||
mode: u=rw,g=r
|
|
||||||
notify:
|
|
||||||
- Restart cadoles-pod-hydra-v1
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Create hydra-clients
|
|
||||||
template:
|
|
||||||
src: hydra-client.json.j2
|
|
||||||
dest: "/etc/hydra/clients.d/{{ item.client_id }}.json"
|
|
||||||
with_items: "{{ hydra_clients }}"
|
|
||||||
notify:
|
|
||||||
- Reload hydra clients
|
|
||||||
become: true
|
|
Loading…
Reference in New Issue