21 lines
458 B
Plaintext
21 lines
458 B
Plaintext
# {{ ansible_managed }}
|
|
# Changes to this file are found within the vars/config_vars
|
|
|
|
{% for key, value in item.var.items() %}
|
|
|
|
[{{ key }}]
|
|
{% for _key, _value in value.items() %}
|
|
{% if _value is string %}
|
|
{{ _key }}={{ _value }}
|
|
{% elif _value is number %}
|
|
{{ _key }}={{ _value }}
|
|
{% elif _value is iterable %}
|
|
{{ _key }}={{ _value|join(", ") }}
|
|
{% else %}
|
|
# Value type skipped as it was indeterminable
|
|
# {{ _value }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|