2021-01-29 00:08:39 +00:00
|
|
|
---
|
2021-03-17 21:52:05 +00:00
|
|
|
# Custom header
|
|
|
|
dirty: "{% if template_path is defined %}{{ lookup('pipe', 'git diff --quiet -- ' + template_path | quote + ' || echo dirty') }}{% else %}{{ lookup('pipe', 'git diff --quiet || echo dirty') }}{% endif %}"
|
|
|
|
ansible_header: |
|
|
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
|
|
|
Ansible managed, don't modify the file locally.
|
2021-03-17 22:33:31 +00:00
|
|
|
See https://gitlab.crans.org/ynerant/templier-ansible.
|
2021-03-17 21:52:05 +00:00
|
|
|
{% 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) }}
|
|
|
|
{% endif %}Template: roles/{{ rpath }}
|
|
|
|
{% else %}
|
|
|
|
Run by: {{ ansible_env.SUDO_USER }}
|
|
|
|
Latest commit: {% if dirty %}({{dirty}}) {% endif %}{{ lookup('pipe', 'git rev-parse HEAD') }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
|
|
|
|
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
pass:
|
2021-03-17 23:25:44 +00:00
|
|
|
upstream: 'ssh://git@git.ynerant.fr:2222/ynerant/pass.git'
|
2021-01-29 00:08:39 +00:00
|
|
|
dest: '.password-store/'
|
|
|
|
|
|
|
|
cliutils:
|
|
|
|
bash:
|
|
|
|
bogus_dirs: []
|
|
|
|
git:
|
|
|
|
email: ynerant@crans.org
|
2021-03-17 21:52:05 +00:00
|
|
|
name: Yohann D'ANELLO
|
2021-01-29 00:08:39 +00:00
|
|
|
signingkey: 3A75C55819C8CF85
|
|
|
|
|
|
|
|
bind:
|
|
|
|
domains:
|
|
|
|
- name: ynerant.fr
|
|
|
|
administrator: ynerant.crans.org
|
|
|
|
ipv4: 185.230.78.178
|
|
|
|
ipv6: 2a0c:700:12:0:f21f:afff:fee5:34ca
|
2021-03-17 21:52:05 +00:00
|
|
|
slave: "" # 51.15.199.212
|
|
|
|
aliases:
|
|
|
|
- cloud
|
|
|
|
- element
|
|
|
|
- git
|
|
|
|
- hydrogen
|
|
|
|
- mailu
|
|
|
|
- notls
|
|
|
|
- synapse
|
|
|
|
- thelounge
|
|
|
|
- traefik
|
|
|
|
- translate
|
|
|
|
- whoami
|
|
|
|
- www
|