Configures /etc/apt/sources.list
none
See variables for more details.
With default variables, this role keep original settings. You need to set the config variables like in the exemple in order to start configuration. You can also remove the release changes alerts, disable the cache or avoid that the package install des man/doc associated or specific traduction only.
---
- hosts: system_apt_sources
become: true
become_method: sudo
gather_facts: true
roles:
- role: ansible-system_apt_sources
vars:
apt_sources_debian_components:
- main
- contrib
- non-free
apt_sources_enable_backports: true
apt_sources_enable_proposed: false
apt_sources_enable_security: true
apt_sources_enable_updates: true
apt_sources_remove_release_change_alert: true
apt_sources_exclude_man: true
apt_sources_include_locales:
- fr
- en
apt_sources_disable_caches: true
This project is licensed under Apache License. See LICENSE for more details.