mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
ntp: add config to filter and set ntp interfaces (#11066)
* ntp: add config to set which interface ntp should listen * Fixed config to only have one variable
This commit is contained in:
@@ -98,6 +98,13 @@ ntp_servers:
|
||||
ntp_restrict:
|
||||
- "127.0.0.1"
|
||||
- "::1"
|
||||
# Specify whether to filter interfaces
|
||||
ntp_filter_interface: false
|
||||
# Specify the interfaces
|
||||
# Only takes effect when ntp_filter_interface is true
|
||||
# ntp_interfaces:
|
||||
# - ignore wildcard
|
||||
# - listen xxx
|
||||
# The NTP driftfile path
|
||||
# Only takes effect when ntp_manage_config is true.
|
||||
ntp_driftfile: /var/lib/ntp/ntp.drift
|
||||
|
||||
Reference in New Issue
Block a user