From e6d5e81d2930dc33b0e0e5a62d25cccd376385e5 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 10 Jan 2019 12:50:33 +0200 Subject: [PATCH] ansible.cfg: Adjust ansible_managed template See: https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html --- ansible.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 1590a41..992aee1 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -5,6 +5,12 @@ inventory=hosts # instead of using --ask-vault-pass 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] # instead of using -K become_ask_pass=True