diff --git a/roles/chronyd/templates/chrony.conf.j2 b/roles/chronyd/templates/chrony.conf.j2 index 2db858a..9acd552 100644 --- a/roles/chronyd/templates/chrony.conf.j2 +++ b/roles/chronyd/templates/chrony.conf.j2 @@ -26,5 +26,5 @@ logchange {{ chronyd__log_change_seconds | float }} leapsectz right/UTC {% for network in chronyd__allow_networks %} -allow {{ network | ipaddr }} +allow {{ network | ansible.utils.ipaddr }} {% endfor %}