ansible-role-chrony/templates/chrony.conf.j2
2024-08-07 10:58:44 +02:00

13 lines
300 B
Django/Jinja

# {{ ansible_managed }}
{% for option, value in chrony_full_config.items() if value %}
{% if value is sameas true %}
{{ option }}
{% elif value is iterable and value is not string %}
{% for v in value %}
{{ option }} {{ v }}
{% endfor %}
{% else %}
{{ option }} {{ value }}
{% endif %}
{% endfor %}