This role configures apt sources, preferences and apt-cacher-ng / proxy for Debian and Ubuntu.
This role requires Ansible 2.7 or higher.
See defaults/main.yml for the documented role variables. See also the distribution specific vars.
This playbook configures apt together 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