geerlingguy / ansible-role-ntp

Ansible Role - NTP
https://galaxy.ansible.com/geerlingguy/ntp/
MIT License
318 stars 241 forks source link

Fixes service not found issue. #110

Closed blmhemu closed 2 years ago

blmhemu commented 2 years ago

In one of my armbian device, i got an issue where the timesyncd is showing in services but status is not-found. That issue is fixed.

blmhemu commented 2 years ago

@geerlingguy Can this be merged please ?

xgin commented 2 years ago

Related issue https://github.com/geerlingguy/ansible-role-ntp/issues/87

RealOrangeOne commented 2 years ago

Tested working on Debian 11.

geerlingguy commented 2 years ago

Happy to merge, but can anyone validate that this would not break things for those users stuck on Ansible 2.9?

eRadical commented 2 years ago

Tested working on Centos 8.5.

blmhemu commented 2 years ago

Ideally, it should not break on previous versions, because it is and condition and we get the status property.

geerlingguy commented 2 years ago

Thanks for the validation! This is out in the latest release.