Real inital commit

This commit is contained in:
2020-05-05 19:19:38 +03:00
parent 3e13c56880
commit 6a946541d5
6 changed files with 98 additions and 0 deletions

12
templates/networkd.j2 Normal file
View File

@@ -0,0 +1,12 @@
# {{ ansible_managed }}
{% for section in item.content %}
{% for section_name, section_params in section.items() %}
[{{ section_name }}]
{% for item in section_params %}
{% for key, value in item.items() %}
{{ key }}={{ value }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}

4
templates/resolv.conf.j2 Normal file
View File

@@ -0,0 +1,4 @@
# {{ ansible_managed }}
{% for item in networkd_resolver %}
{{ item }}
{% endfor %}