stuvusIT / ansible_systemd_timesyncd

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

Role fails on Ubuntu #18

Closed Lycowolf closed 1 year ago

Lycowolf commented 2 years ago

Changes made in https://github.com/stuvusIT/systemd-timesyncd/commit/dac573caffe70f47496cdc9b2d25ab6c1e1be55e depend on Aptitude being installed on the target server, which is generally not true - it fails on current Ubuntu LTS ( and IIRC Debian Stable doesn't install Aptitude either). The code is somewhat suspicious too: systemd-timesyncd might not be installable, but we start the unit anyway?

I created a PR to fix the issue: https://github.com/stuvusIT/systemd-timesyncd/pull/17

EDIT. better explain what was tested