Compare commits
2 Commits
modulariza
...
default-va
Author | SHA1 | Date | |
---|---|---|---|
81f6948104 | |||
e6f973805b |
22
tasks/update-hydra-sp.yml
Normal file
22
tasks/update-hydra-sp.yml
Normal 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
|
@ -12,7 +12,7 @@ PODMAN_ARGS="\
|
|||||||
-e 'APACHE_FORCE_HTTPS={{ "true" if haproxy_public_base_url.startswith('https') else "false" }}' \
|
-e 'APACHE_FORCE_HTTPS={{ "true" if haproxy_public_base_url.startswith('https') else "false" }}' \
|
||||||
-e 'SP_HANDLER_BASE_PATH={{ haproxy_hydra_saml_base_path }}' \
|
-e 'SP_HANDLER_BASE_PATH={{ haproxy_hydra_saml_base_path }}' \
|
||||||
-e 'SP_SESSIONS_REDIRECT_LIMIT=host+allow' \
|
-e 'SP_SESSIONS_REDIRECT_LIMIT=host+allow' \
|
||||||
-e 'SP_SESSIONS_REDIRECT_ALLOW={{ hydra_saml_allowed_redirects | join(' ') }}' \
|
-e 'SP_SESSIONS_REDIRECT_ALLOW={{ hydra_saml_allowed_redirects | default([]) | join(' ') }}' \
|
||||||
-e 'SP_INCLUDE_DEFAULT_ATTRIBUTES_MAPPING={{ hydra_saml_include_sp_default_attributes_mapping }}' \
|
-e 'SP_INCLUDE_DEFAULT_ATTRIBUTES_MAPPING={{ hydra_saml_include_sp_default_attributes_mapping }}' \
|
||||||
-e 'SP_INCLUDE_DEFAULT_ATTRIBUTES_POLICY={{ hydra_saml_include_sp_default_attributes_policy }}' \
|
-e 'SP_INCLUDE_DEFAULT_ATTRIBUTES_POLICY={{ hydra_saml_include_sp_default_attributes_policy }}' \
|
||||||
-v '/etc/shibboleth/attribute-map.inc.xml:/etc/shibboleth/attribute-map.inc.xml' \
|
-v '/etc/shibboleth/attribute-map.inc.xml:/etc/shibboleth/attribute-map.inc.xml' \
|
||||||
|
Reference in New Issue
Block a user