use jinja mapping test

This commit is contained in:
Corbin Bartsch 2023-10-28 20:36:43 -04:00
parent cf59c5f807
commit b8bccf6413
Signed by: coredotbin
GPG Key ID: 32D3B80A08D93212

View File

@ -77,7 +77,7 @@ services:
{% if container.depends_on is defined %}
depends_on:
{% for dependent in container.depends_on %}
{% if dependent.condition is defined %}
{% if dependent is mapping %}
{{ dependent }}:
condition: {{ dependent.condition }}
{% else %}