From e94e5ced22b16ca0e62eb26659fdc1768f5ffda8 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 27 Apr 2016 00:51:09 -0400 Subject: add many {{ ansible_managed }} blocks to template/copied files --- roles/git/templates/etc_default_git-daemon.j2 | 3 ++- roles/git/templates/etc_nginx_sites-available_cgit.j2 | 1 + roles/git/templates/home_git_gitolite_rc.j2 | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'roles/git') diff --git a/roles/git/templates/etc_default_git-daemon.j2 b/roles/git/templates/etc_default_git-daemon.j2 index 36863c0..3c03fb2 100644 --- a/roles/git/templates/etc_default_git-daemon.j2 +++ b/roles/git/templates/etc_default_git-daemon.j2 @@ -1,6 +1,7 @@ # Defaults for git-daemon initscript # sourced by /etc/init.d/git-daemon -# installed at /etc/default/git-daemon by the maintainer scripts + +# {{ ansible_managed }} # # This is a POSIX shell fragment diff --git a/roles/git/templates/etc_nginx_sites-available_cgit.j2 b/roles/git/templates/etc_nginx_sites-available_cgit.j2 index 511c6ad..903d38c 100644 --- a/roles/git/templates/etc_nginx_sites-available_cgit.j2 +++ b/roles/git/templates/etc_nginx_sites-available_cgit.j2 @@ -1,3 +1,4 @@ +# {{ ansible_managed }} server { diff --git a/roles/git/templates/home_git_gitolite_rc.j2 b/roles/git/templates/home_git_gitolite_rc.j2 index a9cd666..ef82851 100644 --- a/roles/git/templates/home_git_gitolite_rc.j2 +++ b/roles/git/templates/home_git_gitolite_rc.j2 @@ -1,5 +1,7 @@ # configuration variables for gitolite +# {{ ansible_managed }} + # This file is in perl syntax. But you do NOT need to know perl to edit it -- # just mind the commas, use single quotes unless you know what you're doing, # and make sure the brackets and braces stay matched up! -- cgit v1.2.3