ansible/roles/openvpn/templates/ccd.j2

16 lines
291 B
Plaintext
Raw Permalink Normal View History

2022-08-30 12:49:30 +00:00
# {{ ansible_managed }}
{% for k, v in item.value.items() %}
{% if v is string %}
{{ k }} {{ v }}
{% elif v is sequence %}
{% for vv in v %}
{{ k }} {{ vv | quote if k == "push" else vv }}
{% endfor %}
{% elif v is not defined %}
{{ k }}
{% else %}
{{ k }} {{ v }}
{% endif %}
{% endfor %}