Browse Source

Rename template to make its use more clear

master
Jonathan Golder 3 years ago
parent
commit
31c4e7db67
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      tasks/main.yml
  2. +2
    -2
      templates/dotqmail_file.j2

+ 2
- 2
tasks/main.yml View File

@@ -50,7 +50,7 @@
# The content lines are configured in list dotqmail_rootfile
- name: generate/update dotqmail root file
template:
src: templates/dotqmail.j2
src: templates/dotqmail_file.j2
dest: "{{ansible_env.HOME}}/{{file}}"
mode: 0600
vars:
@@ -63,7 +63,7 @@
# dotqmail_default_files from role defaults)
- name: generate/update other dotqmail-files
template:
src: templates/dotqmail.j2
src: templates/dotqmail_file.j2
dest: "{{ansible_env.HOME}}/{{file}}"
mode: 0600
vars:


templates/dotqmail.j2 → templates/dotqmail_file.j2 View File

@@ -1,5 +1,5 @@
{#
# dotqmail/templates/dotqmail.j2
# dotqmail/templates/dotqmail_file.j2
#
# Copyright 2016 Jonathan Golder <jonathan@golderweb.de>
#
@@ -20,7 +20,7 @@
#
#
# Gets the file name as var file and the redirect lines as list var file_names
# and then generates the dotqmailfile out of those
# and then generates the dotqmail file out of those.
#}
# ~/{{file}}
# {{ansible_managed}}

Loading…
Cancel
Save