2023-10-26 13:50:32 +02:00
|
|
|
---
|
|
|
|
# Simple task to update the package/container cadoles-pod-shibboleth-sp only.
|
|
|
|
- name: Install hydra-shibboleth package
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name:
|
|
|
|
- cadoles-pod-shibboleth-sp-v3={{ cadoles_pod_shibboleth_sp_v3_package_version }}
|
|
|
|
update_cache: yes
|
|
|
|
state: present
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Configure cadoles-pod-shibboleth-sp-v3
|
|
|
|
template:
|
|
|
|
src: "{{ item.src }}"
|
|
|
|
dest: "{{ item.dest }}"
|
|
|
|
mode: "{{ item.mode }}"
|
|
|
|
with_items:
|
2023-11-14 12:30:22 +01:00
|
|
|
- src: cadoles-pod-shibboleth-sp-v3.conf.j2
|
2023-10-26 13:50:32 +02:00
|
|
|
dest: /etc/cadoles-pod-shibboleth-sp-v3.conf
|
|
|
|
mode: u=rw,g=r
|
2023-11-14 12:30:22 +01:00
|
|
|
- src: shibboleth-attribute-map.inc.xml.j2
|
|
|
|
dest: /etc/shibboleth/attribute-map.inc.xml
|
|
|
|
mode: u=rw,g=r,o=r
|
|
|
|
- src: shibboleth-attribute-policy.inc.xml.j2
|
|
|
|
dest: /etc/shibboleth/attribute-policy.inc.xml
|
|
|
|
mode: u=rw,g=r,o=r
|
2023-10-26 13:50:32 +02:00
|
|
|
notify:
|
|
|
|
- Restart cadoles-pod-shibboleth-sp-v3
|
|
|
|
become: true
|