You've already forked ansible-role-git
Initial Commit
This commit is contained in:
14
templates/.config/git/config.j2
Normal file
14
templates/.config/git/config.j2
Normal file
@ -0,0 +1,14 @@
|
||||
#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 %}
|
Reference in New Issue
Block a user