tobias_richter.apt_config
tobias_richter.apt_config
This role sets up apt sources, preferences, and apt-cacher-ng/proxy settings for Debian and Ubuntu systems.
Requirements
You need Ansible version 2.7 or higher to use this role.
Role Variables
Check the defaults/main.yml file for the list of variables used in this role. You can also look at the distribution-specific vars.
Example Playbook
This playbook sets up apt to work with a proxy server/apt-cacher-ng.
- hosts: apt_config
roles:
- role: tobias_richter.apt_config
apt_config_http_proxy: http://apt-cacher-ng.main.corp
Installa
ansible-galaxy install tobias_richter.apt_config
Licenza
apache-2.0
Download
917
Proprietario
Expert DevOps Engineer