hyperized.unattended_upgrades
无人值守升级
安装无人值守升级工具。
要求
强烈推荐使用 Ansible 2.5 或更高版本。
角色变量
unattended_upgrades_enabled: True
unattended_upgrades_state: installed
unattended_upgrades_unattended_upgrade: 1
unattended_upgrades_autoclean_interval: 7
unattended_upgrades_mailto: root
unattended_upgrades_remove_old_kernels: true
unattended_upgrades_remove_unused_dependencies: true
unattended_upgrades_automatic_reboot: true
unattended_upgrades_automatic_reboot_time: "02:00"
依赖
hyperized.package
示例剧本
- hosts: all
become: yes
roles:
- role: hyperized.unattended-upgrades
许可证
MIT
作者信息
Gerben Geijteman gerben@hyperized.net