Allow user-specified $ansible_managed string with named parameters

This commit is contained in:
Jan-Piet Mens 2012-10-03 15:59:38 +02:00
commit 9ed59da294
3 changed files with 18 additions and 3 deletions

View file

@ -66,6 +66,14 @@ remote_port=22
#private_key_file=/path/to/file
# format of string $ansible_managed available within Jinja2 templates, replacing
# {file}, {host} and {uid} with template filename, host and owner respectively.
# The resulting string is passed through strftime(3) so it may contain any
# time-formatting specifiers.
#
# Example: ansible_managed = DONT TOUCH {file}: call {uid} at {host} for changes
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
[paramiko_connection]
# nothing to configure yet