diff --git a/README.md b/README.md index 77bcc23e97ecbfddede7a2ef482bc02bf85dc91d..7b655cff7c23ac26fe88628fbda45525aaa6b01f 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,7 @@ Variables defined in defaults/main.yaml: * allow_iframe: whether iframes are allowed This role makes use of a few variables which are set in case the target server is part of other groups (but still initialized to false in defaults/main.yml), namely : -* docker_auth - * ldap_url - * sso_url -* docker_nextcloud or docker_owncloud +* docker_nextcloud * cloud_url * cloud_collabora and cloud_collabora_url * cloud_onlyoffice and cloud_onlyoffice_url @@ -64,7 +61,7 @@ Dependencies This role requires the following Ansible collection : * community.docker -This role does not have dependencies per-se, while it can be dependant on variables defined in other groups (backup_servers, docker_auth, docker_nextcloud, docker_odoo, docker_owncloud) +This role does not have dependencies per-se, while it can be dependant on variables defined in other groups (backup_servers, docker_nextcloud, docker_odoo) Example Playbook ---------------- diff --git a/templates/inverseproxy.yaml.j2 b/templates/inverseproxy.yaml.j2 index 55925334c13e1beeea8eadbcb293380451755a99..224f5fea33ea4a464a0936944864e720997dfb69 100644 --- a/templates/inverseproxy.yaml.j2 +++ b/templates/inverseproxy.yaml.j2 @@ -11,16 +11,12 @@ services: app: {% endif %} shared: -{% if inventory_hostname in groups['docker_auth'] | union(groups['docker_nagios']) or cloud_collabora or cloud_onlyoffice %} +{% if inventory_hostname in groups['docker_nagios'] or cloud_collabora or cloud_onlyoffice %} aliases: -{% if inventory_hostname in groups['docker_auth'] %} - - {{ ldap_url }} - - {{ sso_url }} -{% endif %} {% if inventory_hostname in groups['docker_nagios'] %} - {{ nagios_url }} {% endif %} -{% if inventory_hostname in groups['docker_nextcloud'] | union(groups['docker_owncloud']) %} +{% if inventory_hostname in groups['docker_nextcloud'] %} - {{ cloud_url }} {% if cloud_collabora %} - {{ cloud_collabora_url }}