mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
introduced non changing ansible_managed
This commit is contained in:
parent
49e17b8ff6
commit
8bfbe44e5b
1 changed files with 4 additions and 2 deletions
|
@ -86,7 +86,9 @@ timeout = 10
|
||||||
# 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.
|
# templates indicates to users editing templates files will be replaced.
|
||||||
# replacing {file}, {host} and {uid} and strftime codes with proper values.
|
# 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
|
# 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"
|
# should not be run on a host. Set this to "False" if you don't want to see these "Skipping"
|
||||||
|
|
Loading…
Reference in a new issue