tobias_richter.apt_config

tobias_richter.apt_config

构建状态

这个角色用于配置 Debian 和 Ubuntu 的 apt 源、优先级和 apt-cacher-ng / 代理。

需求

此角色需要 Ansible 2.7 或更高版本。

角色变量

请查看 defaults/main.yml 以获取记录的角色变量。 另请查看特定发行版的 vars

示例剧本

此剧本配置 apt 以及一个代理服务器 / apt-cacher-ng。

- hosts: apt_config
  roles:
    - role: tobias_richter.apt_config
      apt_config_http_proxy: http://apt-cacher-ng.main.corp
关于项目

Ansible Role for configuring APT.

安装
ansible-galaxy install tobias_richter.apt_config
许可证
apache-2.0
下载
917
拥有者
Expert DevOps Engineer