Closed thbar closed 2 years ago
I have figured it out, and the good news it that it is not related at all to this role.
Sharing the juicy bits in case it helps someone else later.
The culprit was lying in /etc/apt/apt.conf.d/
with a file named 99ansible
, taking precedence on everything else in the folder, which included things like:
APT::Periodic::Enable "0";
# SNIP
APT::Periodic::Unattended-Upgrade "0";
A call to apt-config dump
could have helped to evaluate the final config and assert on it.
Hi!
I have been using this role with success on Ubuntu 16 LTS for a few years, and it worked just fine. Recently I re-created servers with Ubuntu 20 LTS, and it turns out the unattented-upgrades process is not started automatically anymore.
I am still investigating, but I believe the cron job is not running at all or something.
Did anyone meet a similar issue?
Even a confirmation that the role works for you on Ubuntu 20 will already be useful.
Thanks for your input!
Full configuration
I am using the role version
v1.11.0
with this type of configuration:The generated files are:
and:
Thank you!