๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-playbooks/roles/ntp/templates/chrony.j2

10 lines
285 B

2 years ago
{% for option in (ntp_cfg | d({}) | dict2items) -%}
{% if (option.value | type_debug == 'list') -%}
{% for suboption in option.value -%}
{{- option.key }} {{ suboption }}
{% endfor -%}
{% else -%}
{{- option.key }} {{ option.value }}
{% endif -%}
{% endfor -%}