tschifftner.autoupdate

Ansible角色:自动更新

构建状态

在Debian/Ubuntu Linux服务器上安装自动更新软件包。这允许运行无人值守的定期更新。

##要求

无。

##角色变量

可用的变量如下所列,并附带默认值(见defaults/main.yml):

autoupdate_enabled: "true"
autoupdate_autofix_interrupted_dpkg: "false"
autoupdate_minimal_steps: "true"
autoupdate_install_on_shutdown: "false"
autoupdate_mail: "root"
autoupdate_mail_only_on_error: "true"
autoupdate_remove_unused_dependencies: "false"
autoupdate_automatic_reboot: "false"
autoupdate_automatic_reboot_time: "02:00"
autoupdate_bandwidth_limit: "70"

autoupdate_periodic_enable: "1"
autoupdate_periodic_update_package_list: "1"
autoupdate_periodic_download_upgradeable_packages: "1"
autoupdate_periodic_unattended_upgrade: "1"
autoupdate_periodic_autoclean_interval: "7"

##依赖

无。

##示例剧本

- hosts: server
  roles:
    - { role: tschifftner.autoupdate }

##支持的操作系统

  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Ubuntu 18.04 (Bionic Beaver)
  • Ubuntu 16.04 (Xenial Xerus)

##所需的ansible版本

Ansible 2.5+

##许可

MIT许可证

##作者信息

关于项目

Installs autoupdate packages on Debian/Ubuntu linux servers. This allows to run unattended and periodic updates.

安装
ansible-galaxy install tschifftner.autoupdate
许可证
mit
下载
1.1k
拥有者
Kubernetes Software Architekt, Magento Certified Developer und Full-Stack Entwickler