diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-07-06 16:48:39 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-07-06 19:25:32 -0400 |
commit | 8bfbe44e5b8f54596f8e556a85a1953f258a5523 (patch) | |
tree | ca33965fe6b5b4ee8a107a27437d2bcc92ecd86f /examples | |
parent | 49e17b8ff67ff4d645c4ad2d0e80500d20579f8c (diff) | |
download | ansible-8bfbe44e5b8f54596f8e556a85a1953f258a5523.tar.gz |
introduced non changing ansible_managed
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ansible.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg index 4f5a35bf14..f6b7208b2b 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" |