From 8bfbe44e5b8f54596f8e556a85a1953f258a5523 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 6 Jul 2015 16:48:39 -0400 Subject: [PATCH] introduced non changing ansible_managed --- examples/ansible.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/ansible.cfg b/examples/ansible.cfg index 4f5a35bf142..f6b7208b2bc 100644 --- a/examples/ansible.cfg +++ b/examples/ansible.cfg @@ -83,10 +83,12 @@ timeout = 10 # if passing --private-key to ansible or ansible-playbook #private_key_file = /path/to/file -# format of string {{ ansible_managed }} available within Jinja2 +# format of string {{ ansible_managed }} available within Jinja2 # templates indicates to users editing templates files will be replaced. # replacing {file}, {host} and {uid} and strftime codes with proper values. -ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} +#ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} +# This short version is better used in tempaltes as it won't flag the file as changed every run. +ansible_managed = Ansible managed: {file} on {host} # by default, ansible-playbook will display "Skipping [host]" if it determines a task # should not be run on a host. Set this to "False" if you don't want to see these "Skipping"