ansible.cfg: Adjust ansible_managed template
See: https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html
This commit is contained in:
parent
a4fe3698e8
commit
e6d5e81d29
@ -5,6 +5,12 @@ inventory=hosts
|
|||||||
# instead of using --ask-vault-pass
|
# instead of using --ask-vault-pass
|
||||||
ask_vault_pass=True
|
ask_vault_pass=True
|
||||||
|
|
||||||
|
ansible_managed = This file is managed by Ansible.%n
|
||||||
|
template: {file}
|
||||||
|
date: %Y-%m-%d %H:%M:%S
|
||||||
|
user: {uid}
|
||||||
|
host: {host}
|
||||||
|
|
||||||
[privilege_escalation]
|
[privilege_escalation]
|
||||||
# instead of using -K
|
# instead of using -K
|
||||||
become_ask_pass=True
|
become_ask_pass=True
|
||||||
|
Loading…
Reference in New Issue
Block a user