From 76dda6200197a676eec848022b519f10737497da Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 14 Sep 2017 19:09:22 +0200 Subject: [PATCH] remove interface ignore wildcard because it breaks ntp sync with external servers --- ntpd/defaults/main.yml | 1 - ntpd/templates/ntp.conf.j2 | 6 ------ 2 files changed, 7 deletions(-) diff --git a/ntpd/defaults/main.yml b/ntpd/defaults/main.yml index 380bd0e7..61a0846f 100644 --- a/ntpd/defaults/main.yml +++ b/ntpd/defaults/main.yml @@ -1,5 +1,4 @@ --- -ntpd_only_local: True ntpd_servers: - 'ntp.evolix.net' ntpd_acls: diff --git a/ntpd/templates/ntp.conf.j2 b/ntpd/templates/ntp.conf.j2 index 272bb43c..e57dad33 100644 --- a/ntpd/templates/ntp.conf.j2 +++ b/ntpd/templates/ntp.conf.j2 @@ -2,11 +2,6 @@ driftfile /var/lib/ntp/ntp.drift -{% if ntpd_only_local is defined and ntpd_only_local %} -# Only listen on 127.0.0.1 and ::1 -interface ignore wildcard - -{% endif %} # Enable this if you want statistics to be logged. #statsdir /var/log/ntpstats/ @@ -23,7 +18,6 @@ filegen clockstats file clockstats type day enable # pool: #server pool.ntp.org - {% for server in ntpd_servers %} server {{ server }} {% endfor %}