Update pod Shibboleth SP only

This commit is contained in:
vfebvre 2023-10-26 13:50:32 +02:00
parent 9054f14223
commit e6f973805b
1 changed files with 22 additions and 0 deletions

22
tasks/update-hydra-sp.yml Normal file
View File

@ -0,0 +1,22 @@
---
# 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:
- src: cadoles-pod-shibboleth-sp-v3.conf.j2
dest: /etc/cadoles-pod-shibboleth-sp-v3.conf
mode: u=rw,g=r
notify:
- Restart cadoles-pod-shibboleth-sp-v3
become: true