diff --git a/roles/docker/tasks/services/gluu.yml b/roles/docker/tasks/services/gluu.yml index 878ec333..cc1e84c1 100644 --- a/roles/docker/tasks/services/gluu.yml +++ b/roles/docker/tasks/services/gluu.yml @@ -26,6 +26,8 @@ - "oxtrust/lib/ext" - "oxtrust/logs" - "shared-shibboleth-idp" + loop_control: + loop_var: "volume" - name: set up gluu docker_service: @@ -123,7 +125,7 @@ - GLUU_CONSUL_PORT=8500 - GLUU_LDAP_URL=ldap:1636 extra_hosts: - - "${DOMAIN}:${HOST_IP}" + - "{{gluu.domain}}:85.235.225.231" container_name: oxauth volumes: - "{{ volume_root_folder }}/oxauth/custom/pages:/opt/gluu/jetty/oxauth/custom/pages" @@ -147,7 +149,7 @@ - GLUU_LDAP_URL=ldap:1636 - GLUU_OXAUTH_BACKEND=oxauth:8080 extra_hosts: - - "${DOMAIN}:${HOST_IP}" + - "{{gluu.domain}}:85.235.225.231" container_name: oxtrust volumes: - "{{ volume_root_folder }}/oxtrust/custom/pages:/opt/gluu/jetty/identity/custom/pages" @@ -171,7 +173,7 @@ - GLUU_CONSUL_PORT=8500 - GLUU_LDAP_URL=ldap:1636 extra_hosts: - - "${DOMAIN}:${HOST_IP}" + - "{{gluu.domain}}:85.235.225.231" container_name: oxshibboleth volumes: - "{{ volume_root_folder }}/volumes/shared-shibboleth-idp:/opt/shared-shibboleth-idp"