xoxys.redis/templates/etc/containers/systemd/redis.network.j2
Robert Kaussow c8a204b3b1
Some checks failed
continuous-integration/drone/pr Build is failing
refactor: move to podman container setup
2023-08-05 17:53:22 +02:00

20 lines
589 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
[Network]
{% if redis_network_ipv4_subnet is defined %}
Subnet={{ redis_network_ipv4_subnet }}
{% endif %}
{% if redis_network_ipv4_gateway is defined %}
Gateway={{ redis_network_ipv4_gateway }}
{% endif %}
IPv6={{ redis_network_ipv6_enabled | bool | lower }}
{% if redis_network_ipv6_enabled | bool %}
{% if redis_network_ipv6_subnet is defined %}
Subnet={{ redis_network_ipv6_subnet }}
{% endif %}
{% if redis_network_ipv6_gateway is defined %}
Gateway={{ redis_network_ipv6_gateway }}
{% endif %}
{% endif %}
Label=app=redis