new rule: templates include ansible_managed #4489
Unanswered
wookietreiber
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The idea is that all files deployed with Ansible contain
ansible_managed
in one form or another.templates
{{ ansible_managed }}
,{{ ansible_managed | comment }}
,{# ansible_managed #}
Note: I've just realized that some formats, e.g. JSON don't have comments. So I've added
{# ansible_managed #}
as a get out of jail to the list of defaults.Beta Was this translation helpful? Give feedback.
All reactions