Refactored and solved bugs

This commit is contained in:
2025-04-08 21:33:43 +02:00
parent 1be413f20d
commit da5962c337
31 changed files with 356 additions and 447 deletions

View File

@@ -8,13 +8,13 @@
src: "nginx.stream.conf.j2"
dest: "{{nginx.directories.streams}}{{domains[application_id]}}.conf"
notify: restart nginx
when: applications.ldap.openldap.network.public | bool
when: applications.ldap.network.public | bool
- name: Remove {{domains[application_id]}}.conf if LDAP is not exposed to internet
file:
path: "{{ nginx.directories.streams }}{{ domains[application_id] }}.conf"
state: absent
when: not applications.ldap.openldap.network.public | bool
when: not applications.ldap.network.public | bool
- name: create docker network for LDAP, so that other applications can access it
docker_network: