fix ansible_managed handling
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
725f7de02f
commit
2ce6c3d3a4
@ -1,5 +1,5 @@
|
|||||||
#jinja2: lstrip_blocks: True
|
#jinja2: lstrip_blocks: True
|
||||||
# {{ ansible_managed }}
|
{{ 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 not network_disable_ipv6 %}
|
||||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
{% for item in network_dns_server %}
|
{% for item in network_dns_server %}
|
||||||
nameserver {{ item }}
|
nameserver {{ item }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#jinja2: trim_blocks: True, lstrip_blocks: True
|
#jinja2: trim_blocks: True, lstrip_blocks: True
|
||||||
# {{ ansible_managed }}
|
{{ ansible_managed | comment }}
|
||||||
DEVICE="{{ item.key }}"
|
DEVICE="{{ item.key }}"
|
||||||
{%+ for key, value in item.value.items() -%}
|
{%+ for key, value in item.value.items() -%}
|
||||||
{{ key | upper }}="{{ value }}"
|
{{ key | upper }}="{{ value }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user