diff --git a/roles/domain/templates/ntp.conf b/roles/domain/templates/ntp.conf index 5024261..7bdb066 100644 --- a/roles/domain/templates/ntp.conf +++ b/roles/domain/templates/ntp.conf @@ -25,7 +25,7 @@ filegen clockstats file clockstats type day enable #server ntp.ubuntu.com # {{ ansible_managed }} -server {{ ntpserver }} prefer +server {{ ansible_local.domain.ntpserver }} prefer # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for # details. The web page