--- # Custom header 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 %} +++++++++++++++++++++++++++++++++++++++++++++++++++ # Crans subnets adm_subnet: 10.231.136.0/24