Ansible の template ファイルに
{{ ansible_managed }}
を入れておくことで
Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
というフォーマットで挿入できます。
このフォーマットはデフォルト値で ansible.cfg にて ansible_managed の値で変更できます。
http://www.ansibleworks.com/docs/intro_configuration.html#ansible-managed
に書いてあるまんまですけど。