fix: rename var network_disable_ipv6 to network_ipv6_enabled
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-09-13 21:47:28 +02:00
parent 9bb076718f
commit 32a3299e32
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
network_hostname: localhost network_hostname: localhost
network_fqdn: localdomain network_fqdn: localdomain
network_defaultif: eth0 network_defaultif: eth0
network_disable_ipv6: False network_ipv6_enabled: True
network_dns_server: 8.8.8.8 network_dns_server: 8.8.8.8
network_interfaces: {} network_interfaces: {}

View File

@ -1,7 +1,7 @@
#jinja2: lstrip_blocks: True #jinja2: lstrip_blocks: True
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
{% if not network_disable_ipv6 %} {% if network_ipv6_enabled %}
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
{% endif %} {% endif %}
{% if network_hostname is defined and network_fqdn is defined and network_interfaces[network_defaultif].ipaddr is defined %} {% if network_hostname is defined and network_fqdn is defined and network_interfaces[network_defaultif].ipaddr is defined %}