ansible-role-ntp
ansible-role-ntp copied to clipboard
Debian 12 /etc/timezone inconsistent with current timezone
Hello,
I have installed Debian 12 using the Europe/Warsaw
timezone and configured the host using ntp_timezone=US/Eastern
.
And then I've noticed the following:
-
/etc/localtime
points to/usr/share/zoneinfo/US/Eastern
- OK, as expected, -
date
returnsEST
- OK, as expected, -
/etc/timezone
still containsEurope/Warsaw
- inconsistent / unexpected.
Should I worry about this?
I have found #10 but this seems to be unsolved?
Interestingly, I'm also getting a CI idempotence failure on Debian 12 (and only Debian 12...):
https://github.com/geerlingguy/ansible-role-ntp/actions/runs/7649697033/job/20844537505#step:5:212
Not sure if this is related, but on Debian Bookworm the ntp config file is now located at
/etc/ntpsec/ntp.conf
and not /etc/ntp.conf
https://github.com/geerlingguy/ansible-role-ntp/pull/130 may fix this — going to test again soon.
I believe this is fixed now. Please let me know if not, and we can take another look.