fix ansible_managed handling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-08-27 22:24:09 +02:00
parent 725f7de02f
commit 2ce6c3d3a4
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
{{ ansible_managed | comment }}
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
{% if not network_disable_ipv6 %}
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

View File

@ -1,5 +1,4 @@
# {{ ansible_managed }}
{{ ansible_managed | comment }}
{% for item in network_dns_server %}
nameserver {{ item }}
{% endfor %}

View File

@ -1,5 +1,5 @@
#jinja2: trim_blocks: True, lstrip_blocks: True
# {{ ansible_managed }}
{{ ansible_managed | comment }}
DEVICE="{{ item.key }}"
{%+ for key, value in item.value.items() -%}
{{ key | upper }}="{{ value }}"