1
0
mirror of https://github.com/golderweb/ansible-dotqmail.git synced 2026-04-18 04:16:31 +02:00

Improve file generation task and add template

This commit is contained in:
2016-09-09 22:06:52 +02:00
parent 8c3b50b5b3
commit ad1cdc016c
2 changed files with 19 additions and 7 deletions

6
templates/dotqmail.j2 Normal file
View File

@@ -0,0 +1,6 @@
{# Gets the file name as var file and the redirect lines as list var file_names #}
# ~/{{file}}
# {{ansible_managed}}
{% for line in file_lines %}
{{line}}
{% endfor %}