stuvusIT / ansible_systemd_timesyncd

Ansible role to set timezone and configure systemd-timesyncd
Other
18 stars 23 forks source link

Role fails on systems with systemd-timesyncd as a separate package #14

Closed vrusinov closed 1 year ago

vrusinov commented 2 years ago

Some systems (e.g. RHEL and its derivatives such as CentOS) have a separate package systemd-timesyncd which needs to be installed before attempting to enable and start the service.

neumantm commented 2 years ago

Yes this is correct. That package would need to be installed by another role. This was initially done to support as many distros as possible.

However, debian (the distro we use most) has now also switched to it being a seperate package. Therefore, #16 adds the task to install the package via apt.

I'm afraid this will not help RHEL or CentOS users, though.