xoxys.vault/templates/etc/containers/systemd/vault.network.j2
Robert Kaussow 42d0fa0da0
Some checks failed
continuous-integration/drone/push Build is failing
initial commit
2023-07-30 22:49:18 +02:00

20 lines
589 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
[Network]
{% if vault_network_ipv4_subnet is defined %}
Subnet={{ vault_network_ipv4_subnet }}
{% endif %}
{% if vault_network_ipv4_gateway is defined %}
Gateway={{ vault_network_ipv4_gateway }}
{% endif %}
IPv6={{ vault_network_ipv6_enabled | bool | lower }}
{% if vault_network_ipv6_enabled | bool %}
{% if vault_network_ipv6_subnet is defined %}
Subnet={{ vault_network_ipv6_subnet }}
{% endif %}
{% if vault_network_ipv6_gateway is defined %}
Gateway={{ vault_network_ipv6_gateway }}
{% endif %}
{% endif %}
Label=app=vault