mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-19 15:04:23 +02:00
Optimized openldap network
This commit is contained in:
parent
67122800f3
commit
b6ee7b9f98
@ -11,12 +11,11 @@ networks:
|
|||||||
%}
|
%}
|
||||||
svc-db-openldap:
|
svc-db-openldap:
|
||||||
external: true
|
external: true
|
||||||
{% endif %}
|
{% else %}
|
||||||
default:
|
default:
|
||||||
{% if
|
{% if
|
||||||
application_id in networks.local and
|
application_id in networks.local and
|
||||||
networks.local[application_id].subnet is defined and
|
networks.local[application_id].subnet is defined
|
||||||
application_id != 'svc-db-openldap'
|
|
||||||
%}
|
%}
|
||||||
name: {{ application_id }}
|
name: {{ application_id }}
|
||||||
driver: bridge
|
driver: bridge
|
||||||
@ -25,4 +24,5 @@ networks:
|
|||||||
config:
|
config:
|
||||||
- subnet: {{networks.local[application_id].subnet}}
|
- subnet: {{networks.local[application_id].subnet}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{{ "\n" }}
|
{{ "\n" }}
|
Loading…
x
Reference in New Issue
Block a user