# {{ 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 %}