mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-29 04:23:34 +01:00
10 lines
428 B
Django/Jinja
10 lines
428 B
Django/Jinja
{# This template needs to be included in docker-compose.yml containers #}
|
|
networks:
|
|
{% if applications | get_database_central_storage(application_id) | bool and database_type is defined %}
|
|
central_{{ database_type }}:
|
|
{% endif %}
|
|
{% if applications[application_id].get('ldap', {}).get('enabled', false)|bool and applications.ldap.openldap.network.local|bool %}
|
|
central_ldap:
|
|
{% endif %}
|
|
default:
|
|
{{ "\n" }} |