summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/systemd/timesyncd.conf.d/fripost.conf.j2
blob: f578cd94e4cc9ac19d2987fddc6e3cb2828f52c5 (plain)
1
2
3
4
5
6
7
8
9
[Time]
# Sychronize to our (stratum 2) NTP server, to ensure our network has a
# consistent time.
{%- set ntp = [] -%}
{%- for host in groups['NTP_master'] -%}
{%- set _ = ntp.append(ipsec[ hostvars[host].inventory_hostname_short ]) -%}
{%- endfor %}

NTP={{ ntp | join(' ') }}