wittdennis.os_update
Ansible 操作系统更新角色
Ansible 角色用于更新操作系统包
使用方法
- name: 更新操作系统
roles:
- role: wittdennis.os-update
vars:
os_update_reboot: "需要" # 可选值:需要、从不、总是
os_update_reboot_delay: 30
os_update_reboot_timeout: 300
os_update_cleanup: true # 指定更新后是否清理不需要的包和缓存
os_update_dnf_excludes: [] # dnf 更新时的排除列表
os_update_dist_upgrade: true # 设置是否也更新发行版(目前仅适用于 Debian 操作系统系列)
安装
ansible-galaxy install wittdennis.os_update
许可证
mit
下载
3k
拥有者
Doing Stuff!