Add local directive for chrony
The local keyword is used to allow chronyd to appear synchronised to real time (from the viewpoint of clients polling it), even if it has no current synchronisation source. Change-Id: I27d945abb87a37d2fdf972a58c51e2f0994e3de8 Closes-Bug: #1688682
This commit is contained in:
parent
b236be7cb1
commit
7b05bb7322
@ -24,6 +24,7 @@ dumpdir /var/lib/chrony
|
|||||||
|
|
||||||
{% if inventory_hostname in groups['chrony-server'] %}
|
{% if inventory_hostname in groups['chrony-server'] %}
|
||||||
allow all
|
allow all
|
||||||
|
local stratum 10
|
||||||
{% else %}
|
{% else %}
|
||||||
port 0
|
port 0
|
||||||
deny all
|
deny all
|
||||||
|
Loading…
Reference in New Issue
Block a user