Using hostname for entity_id instead of haproxy_public_url

This commit is contained in:
Philippe Caseiro 2023-02-10 09:13:23 +01:00
parent 6d4dfc9fd6
commit 04ae40dd08
2 changed files with 3 additions and 3 deletions

View File

@ -59,4 +59,4 @@
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
notify: notify:
- Restart cadoles-pod-shibboleth-sp-v3 - Restart cadoles-pod-shibboleth-sp-v3
become: true become: true

View File

@ -4,7 +4,7 @@ PODMAN_ARGS="\
--network=slirp4netns:allow_host_loopback=true \ --network=slirp4netns:allow_host_loopback=true \
--replace --name 'cadoles-pod-shibboleth-sp-v3' \ --replace --name 'cadoles-pod-shibboleth-sp-v3' \
--tz=local \ --tz=local \
-e 'SP_ENTITY_ID={{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}' \ -e 'SP_ENTITY_ID={{ ansible_hostname }}{{ haproxy_hydra_saml_base_path }}' \
-e 'SP_LOG_LEVEL={{ hydra_saml_sp_log_level }}' \ -e 'SP_LOG_LEVEL={{ hydra_saml_sp_log_level }}' \
-e 'IDP_ENTITY_ID={{ hydra_saml_idp_entity_id }}' \ -e 'IDP_ENTITY_ID={{ hydra_saml_idp_entity_id }}' \
-e 'IDP_METADATA_URL={{ hydra_saml_idp_metadata_url }}' \ -e 'IDP_METADATA_URL={{ hydra_saml_idp_metadata_url }}' \
@ -18,4 +18,4 @@ PODMAN_ARGS="\
-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' \
-v '/etc/shibboleth/attribute-policy.inc.xml:/etc/shibboleth/attribute-policy.inc.xml' \ -v '/etc/shibboleth/attribute-policy.inc.xml:/etc/shibboleth/attribute-policy.inc.xml' \
-v '/etc/shibboleth/credentials:/etc/shibboleth/credentials' \ -v '/etc/shibboleth/credentials:/etc/shibboleth/credentials' \
" "