14 lines
588 B
YAML
14 lines
588 B
YAML
---
|
|
dirty: "{{lookup('pipe', 'git diff --quiet || echo dirty')}}"
|
|
ansible_header: |
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
Ansible managed, don't modify the file locally.
|
|
See https://gitlab.crans.org/nounous/ansible.
|
|
Run by: {{ ansible_env.SUDO_USER }}
|
|
Latest commit: {% if dirty %}({{dirty}}) {% endif %}{{ lookup('pipe', 'git rev-parse HEAD') }}
|
|
{% if template_path is defined %}{% set _, rpath = template_path.split('roles/') %}Template: roles/{{ rpath }}
|
|
{% endif %}
|
|
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++
|