update_management
Ansible Role: update-management
Description
Manage the update settings on Debian/Ubuntu, CentOS and Windows systems.
Installation
ansible-galaxy install sbaerlocher.update_management
Requirements
None
Role Variables
CentOS
Variable | Default | Comments (type) |
---|---|---|
update_management_CentOS_enable | true | |
update_management_update_cmd.hourly | 'security' | |
update_management_update_cmd.daily | 'default' | |
update_management_update_messages.hourly | 'no' | |
update_management_update_messages.daily | 'yes' | |
update_management_download_updates.hourly | 'no' | |
update_management_download_updates.daily | 'yes' | |
update_management_apply_updates.hourly | 'no' | |
update_management_apply_updates,daily | 'no' | |
update_management_random_sleep.daily | 360 | |
update_management_random_sleep.hourly | 15 | |
update_management_system_name | None | |
update_management_emit_via | stdio | |
update_management_output_width | 80 | |
update_management_email_from | root@localhost | |
update_management_email_to | root | |
update_management_email_host | localhost | |
update_management_group_list | None | |
update_management_group_package_types | mandatory,default | |
update_management_debuglevel | "-2" | |
update_management_mdpolicy | "group:main" |
Debian / Ubuntu
Variable | Default | Comments (type) |
---|---|---|
update_management_Debian_enable | true | |
update_management_UpdatePackageLists | 1 | Do "apt-get update" automatically every n-days (0=disable) |
update_management_DownloadUpgradeablePackages | 0 | Do "apt-get upgrade --download-only" every n-days (0=disable) |
update_management_AutocleanInterval | 7 | Do "apt-get autoclean" every n-days (0=disable) |
update_management_CleanInterval | 7 | Do "apt-get clean" every n-days (0=disable) |
update_management_Verbose | 0 | |
update_management_Package_Blacklist | ||
update_management_AutoFixInterruptedDpkg | true | |
update_management_MinimalSteps | false | |
update_management_InstallOnShutdown | false | |
update_management_Mail | false | |
update_management_MailOnlyOnError | false | |
update_management_Remove_Unused_Dependencies | false | |
update_management_Automatic_Reboot | false | |
update_management_Automatic_Reboot_Time | false | |
update_management_IgnoreAppsRequireRestart | false | |
update_management_Dpkg_Options | [] | |
update_management_Dl_Limit | 70 |
Windows
Dependencies
None
Example Playbook
- hosts: all
roles:
- sbaerlocher.update-management
Changelog
1.0.0
- inital commit
Author
License
This project is under the MIT License. See the LICENSE file for the full license text.
Copyright
(c) 2020, Arillso
Install
ansible-galaxy install sbaerlocher/ansible.update-management
License
mit
Downloads
620947
Owner
Technology Evangelist / System Engineer by @whatwedo / Project Manager @arillso / @ansible and @nuxt fan / Based in #Bern