autoupgrade
Configure automatic package upgrades on Debian or Red Hat systems.
giftpilz0.general12 variables
Usage
- hosts: all roles: - role: giftpilz0.general.autoupgradeVariables
systemd service or timer unit name.
Default{{ 'apt-daily-upgrade.timer' if ansible_facts['os_family'] == 'Debian' else 'dnf-automatic.timer' }}desired state of the autoupgrade service.
ChoicesreloadedrestartedstartedstoppedDefaultstartedwhether the autoupgrade service is enabled at boot.
Defaulttruedesired state of autoupgrade packages.
ChoicespresentabsentlatestDefaultpresent- autoupgrade_package_listlist[str]
list of packages to install for automatic upgrades.
Default{{ ['unattended-upgrades'] if ansible_facts['os_family'] == 'Debian' else ['dnf-automatic'] }} path to the autoupgrade configuration file.
Default{{ '/etc/apt/apt.conf.d/20auto-upgrades' if ansible_facts['os_family'] == 'Debian' else '/etc/dnf/automatic.conf' }}whether to automatically apply package upgrades.
Defaulttruetype of upgrades to apply.
ChoicesdefaultsecurityDefaultdefaultreboot when an upgrade requires it.
Defaultfalse- autoupgrade_blacklistlist[str]
list of packages excluded from automatic upgrades.
Default[] email reporting frequency (e.g. on-change, always, only-on-error).
Default""recipient email address for upgrade reports.
Default""
No variables match.