ansible-role-git/templates/.config/git/config.j2
2022-04-11 13:04:14 +02:00

14 lines
297 B
Django/Jinja

#jinja2: lstrip_blocks: "True", trim_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 %}