diff --git a/ansible/group_vars/all/time b/ansible/group_vars/all/time index dbf49927e..6a60b7c15 100644 --- a/ansible/group_vars/all/time +++ b/ansible/group_vars/all/time @@ -35,3 +35,6 @@ chrony_ntp_servers: - option: iburst - option: minpoll val: 8 + +# Synchronise hardware clock with system time. Default is true. +chrony_rtcsync_enabled: true diff --git a/etc/kayobe/time.yml b/etc/kayobe/time.yml index 23c1d0dc4..8bfbd3391 100644 --- a/etc/kayobe/time.yml +++ b/etc/kayobe/time.yml @@ -30,6 +30,9 @@ # #chrony_ntp_servers: +# Synchronise hardware clock with system time. Default is true. +#chrony_rtcsync_enabled: + ############################################################################### # Dummy variable to allow Ansible to accept this file. workaround_ansible_issue_8743: yes diff --git a/releasenotes/notes/enable-rtc-synchronisation-1179a52e8e6bd12b.yaml b/releasenotes/notes/enable-rtc-synchronisation-1179a52e8e6bd12b.yaml new file mode 100644 index 000000000..e2c7a7944 --- /dev/null +++ b/releasenotes/notes/enable-rtc-synchronisation-1179a52e8e6bd12b.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Enables hardware clock (RTC) synchronisation by default when applying the + chrony role. This setting is configurable with the new variable + ``chrony_rtcsync_enabled``. diff --git a/requirements.yml b/requirements.yml index 4e4e2e500..727f9f23b 100644 --- a/requirements.yml +++ b/requirements.yml @@ -12,7 +12,7 @@ roles: - src: MichaelRigart.interfaces version: v1.12.0 - src: mrlesmithjr.chrony - version: v0.1.1 + version: v0.1.4 - src: mrlesmithjr.manage-lvm version: v0.2.6 - src: mrlesmithjr.mdadm