Ansible Role unattended_upgrades¶
Unattended Upgrades is the Debian / Ubuntu mechanism that periodically pulls and installs security updates without operator interaction. This role deactivates it on Debian-based systems by setting both APT::Periodic::Update-Package-Lists and APT::Periodic::Unattended-Upgrade to 0 in /etc/apt/apt.conf.d/20auto-upgrades. The unattended-upgrades package itself is left installed.
This role only supports Debian and Ubuntu. Running it against a Red Hat-family host fails because the target file does not exist there.
Available since LFOps 2.0.0.