fix: rename var network_disable_ipv6 to network_ipv6_enabled
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9bb076718f
commit
32a3299e32
@ -2,7 +2,7 @@
|
||||
network_hostname: localhost
|
||||
network_fqdn: localdomain
|
||||
network_defaultif: eth0
|
||||
network_disable_ipv6: False
|
||||
network_ipv6_enabled: True
|
||||
network_dns_server: 8.8.8.8
|
||||
|
||||
network_interfaces: {}
|
||||
|
@ -1,7 +1,7 @@
|
||||
#jinja2: lstrip_blocks: True
|
||||
{{ ansible_managed | comment }}
|
||||
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
|
||||
{% endif %}
|
||||
{% if network_hostname is defined and network_fqdn is defined and network_interfaces[network_defaultif].ipaddr is defined %}
|
||||
|
Loading…
Reference in New Issue
Block a user