ansible-role-git/templates/.config/git/config.j2

14 lines
297 B
Plaintext
Raw Normal View History

2022-04-11 11:04:14 +00:00
#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 %}