Add a lot of ansible headers
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
		@@ -5,7 +5,7 @@ ansible_header: |
 | 
			
		||||
    +++++++++++++++++++++++++++++++++++++++++++++++++++
 | 
			
		||||
 | 
			
		||||
       Ansible managed, don't modify the file locally.
 | 
			
		||||
       See https://gitlab.crans.org/nounous/ansible.
 | 
			
		||||
       See https://gitlab.crans.org/ynerant/templier-ansible.
 | 
			
		||||
       {% if template_path is defined %}{% set _, rpath = template_path.split('roles/', 1) %}Commit: {% if dirty %}({{dirty}}) {% endif %}{{ lookup('pipe', 'git log -n 1 --pretty=format:%H -- ' + template_path | quote) }}
 | 
			
		||||
       {% if dirty %}Run by: {{ ansible_env.SUDO_USER }}
 | 
			
		||||
       {% else %}Author: {{ lookup('pipe', 'git log -n 1 --pretty=format:%an -- ' + template_path | quote) }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user