ansible-role-sso/templates/cadoles-pod-hydra-ldap-v1.c...

24 lines
1.3 KiB
Django/Jinja

# {{ ansible_managed }}
# Voir https://forge.cadoles.com/Cadoles/hydra-werther/src/branch/develop/conf/hydra-werther.conf
# pour les variables d'environnement disponibles
PODMAN_ARGS="\
-p 127.0.0.1:3005:8080 \
--network=slirp4netns:allow_host_loopback=true \
--replace --name 'cadoles-pod-hydra-ldap-v1' \
--tz=local \
-e 'WERTHER_DEV_MODE={{ hydra_ldap_dev_mode }}' \
-e 'WERTHER_IDENTP_HYDRA_URL=http://10.0.2.2:3000' \
-e 'WERTHER_LDAP_ENDPOINTS={{ hydra_ldap_endpoints | join(',') }}' \
-e 'WERTHER_LDAP_BINDDN={{ hydra_ldap_bind_dn }}' \
-e 'WERTHER_LDAP_BINDPW={{ hydra_ldap_bind_password }}' \
-e 'WERTHER_LDAP_BASEDN={{ hydra_ldap_base_dn }}' \
-e 'WERTHER_LDAP_USER_SEARCH_QUERY={{ hydra_ldap_user_search_query }}' \
-e 'WERTHER_LDAP_ROLE_SEARCH_QUERY={{ hydra_ldap_role_search_query }}' \
-e 'WERTHER_LDAP_ROLE_BASEDN={{ hydra_ldap_role_base_dn }}' \
-e 'WERTHER_WEB_BASE_PATH={{ haproxy_hydra_ldap_base_path }}/' \
-e 'WERTHER_LDAP_IS_TLS={{ hydra_ldap_use_tls }}' \
-e 'WERTHER_LDAP_ATTR_CLAIMS={{ hydra_ldap_attr_claims }}' \
-e 'WERTHER_LDAP_ROLE_ATTR={{ hydra_ldap_role_attr }}' \
-e 'WERTHER_LDAP_ROLE_CLAIM={{ hydra_ldap_role_claim }}' \
-e 'WERTHER_IDENTP_CLAIM_SCOPES={{ hydra_ldap_claim_scopes }}' \
"