summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/common/templates/etc/ntp.conf.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/common/templates/etc/ntp.conf.j2 b/roles/common/templates/etc/ntp.conf.j2
index 5957276..2022a4b 100644
--- a/roles/common/templates/etc/ntp.conf.j2
+++ b/roles/common/templates/etc/ntp.conf.j2
@@ -27,8 +27,10 @@ server ntp2.sth.netnod.se iburst
{% for host in groups['NTP-master'] | sort %}
server {{ ipsec[ hostvars[host].inventory_hostname_short ] }} prefer iburst
{% endfor %}
-server 0.se.pool.ntp.org iburst
-server 1.se.pool.ntp.org iburst
+server 0.{{ geoip | default('debian') }}.pool.ntp.org iburst
+server 1.{{ geoip | default('debian') }}.pool.ntp.org iburst
+server 2.{{ geoip | default('debian') }}.pool.ntp.org iburst
+server 3.{{ geoip | default('debian') }}.pool.ntp.org iburst
{% endif %}