Fix URL in header
Signed-off-by: Emmy D'Anello <ynerant@emy.lu>
This commit is contained in:
parent
cf37b94440
commit
f56276b15b
|
@ -5,7 +5,7 @@ ansible_header: |
|
|||
+++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Ansible managed, don't modify the file locally.
|
||||
See https://git.yneran.fr/ynerant/templier-ansible.
|
||||
See https://git.ynerant.fr/ynerant/templier-ansible.
|
||||
{% if template_fullpath is defined %}{% set _, rpath = template_fullpath.split('roles/', 1) %}Commit: {% if dirty %}({{dirty}}) {% endif %}{{ lookup('pipe', 'git log -n 1 --pretty=format:%H -- ' + template_fullpath | quote) }}
|
||||
{% if dirty %}Run by: {{ ansible_env.SUDO_USER }}
|
||||
{% else %}Author: {{ lookup('pipe', 'git log -n 1 --pretty=format:%an -- ' + template_fullpath | quote) }}
|
||||
|
|
Loading…
Reference in New Issue