roles_timesync/roles/timesync-enabled/templates/etc/systemd/timesyncd.conf.j2

11 lines
258 B
Plaintext
Raw Normal View History

2017-11-30 14:28:28 +00:00
### {{ ansible_managed }}
# See timesyncd.conf(5) for details.
[Time]
NTP={{ timesync_servers|default([])|join(' ') }}
{% if timesync_servers_fallback|default([]) %}FallbackNTP={{ timesync_servers_fallback|join(' ') }}
2017-11-30 14:28:28 +00:00
{% else %}#FallbackNTP=
{% endif %}