Files
ansible-role-git/templates/.config/git/config.j2
Markus Pesch cc0dceb493
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 59s
fix(template): set lstrip_block correctly
2025-08-19 09:32:10 +02:00

14 lines
274 B
Django/Jinja

#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#
{% for section, values in item.value.config.items() %}
[{{ section }}]
{% for key, value in values.items() %}
{% if value | length > 0 %}
{{ key }} = {{ value }}
{% endif %}
{% endfor %}
{% endfor %}