From 8ffeaf71efa7472ff8511c445aa8874b1b1f3613 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 27 Nov 2020 21:24:53 +0100 Subject: move chrony role to core/ntp (WIP) --- inventory/host_vars/ele-dione.yml | 9 ++++++--- inventory/host_vars/ele-helene.yml | 7 +++++-- inventory/host_vars/lw-dione.yml | 9 ++++++--- inventory/host_vars/lw-helene.yml | 5 +++-- 4 files changed, 20 insertions(+), 10 deletions(-) (limited to 'inventory/host_vars') diff --git a/inventory/host_vars/ele-dione.yml b/inventory/host_vars/ele-dione.yml index 1152e5cf..e187f8aa 100644 --- a/inventory/host_vars/ele-dione.yml +++ b/inventory/host_vars/ele-dione.yml @@ -39,13 +39,16 @@ kubelet_lvm: fs: ext4 -chrony_source_pools: +ntp_variant: chrony + +ntp_client: + pools: - name: at.pool.ntp.org options: iburst -chrony_hwtimestamp_interfaces: +ntp_hwtimestamp_interfaces: - name: "*" -chrony_server: +ntp_server: allow: - "{{ network_zones.lan.prefix }}" diff --git a/inventory/host_vars/ele-helene.yml b/inventory/host_vars/ele-helene.yml index a5418e56..a753a35c 100644 --- a/inventory/host_vars/ele-helene.yml +++ b/inventory/host_vars/ele-helene.yml @@ -39,9 +39,12 @@ kubelet_lvm: fs: ext4 -chrony_source_servers: +ntp_variant: chrony + +ntp_client: + servers: - name: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ele-dione']) | ipaddr('address') }}" options: iburst minpoll 1 maxpoll 3 polltarget 30 -chrony_hwtimestamp_interfaces: +ntp_hwtimestamp_interfaces: - name: "*" diff --git a/inventory/host_vars/lw-dione.yml b/inventory/host_vars/lw-dione.yml index 9b05f037..3e38dbd1 100644 --- a/inventory/host_vars/lw-dione.yml +++ b/inventory/host_vars/lw-dione.yml @@ -40,13 +40,16 @@ kubelet_lvm: fs: ext4 -chrony_source_pools: +ntp_variant: chrony + +ntp_client: + pools: - name: at.pool.ntp.org options: iburst -chrony_hwtimestamp_interfaces: +ntp_hwtimestamp_interfaces: - name: "*" -chrony_server: +ntp_server: allow: - "192.168.32.0/24" diff --git a/inventory/host_vars/lw-helene.yml b/inventory/host_vars/lw-helene.yml index 6b68549b..16c89e76 100644 --- a/inventory/host_vars/lw-helene.yml +++ b/inventory/host_vars/lw-helene.yml @@ -40,9 +40,10 @@ kubelet_lvm: fs: ext4 -chrony_source_servers: +ntp_client: + servers: - name: "192.168.32.202" options: iburst minpoll 1 maxpoll 3 polltarget 30 -chrony_hwtimestamp_interfaces: +ntp_hwtimestamp_interfaces: - name: "*" -- cgit v1.2.3