From c41dbeecd010369a3ce727147c8b9f7cd82c3ae0 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 27 Mar 2017 16:45:15 +0200 Subject: [PATCH] Use ansible_managed in config file headers --- roles/dns/templates/recursor.conf.j2 | 2 ++ roles/nginx/templates/default.j2 | 2 ++ roles/ntp/templates/ntp.conf.j2 | 2 ++ 3 files changed, 6 insertions(+) diff --git a/roles/dns/templates/recursor.conf.j2 b/roles/dns/templates/recursor.conf.j2 index 23ee901..9d89025 100644 --- a/roles/dns/templates/recursor.conf.j2 +++ b/roles/dns/templates/recursor.conf.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} + ################################# # allow-from If set, only allow these comma separated netmasks to recurse # diff --git a/roles/nginx/templates/default.j2 b/roles/nginx/templates/default.j2 index 4da35a5..70b6298 100644 --- a/roles/nginx/templates/default.j2 +++ b/roles/nginx/templates/default.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} + server { listen 80 default_server; listen [::]:80 default_server; diff --git a/roles/ntp/templates/ntp.conf.j2 b/roles/ntp/templates/ntp.conf.j2 index 7226197..745924d 100644 --- a/roles/ntp/templates/ntp.conf.j2 +++ b/roles/ntp/templates/ntp.conf.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} + {% for srv in ntp_servers %} server {{ srv }} iburst {% endfor %}