Ansible role that configures apt sources for Ubuntu and Debian. Defaults to the dynamic mirrors
- Debian (all versions)
- Ubuntu (all versions)
- Ansible 2.1+
See ./defaults/main.yml
for configurable variables and their defaults
---
- name: Example play
hosts: all
roles:
- { apt-sources }
---
- name: Example play with optional vars set
hosts: all
roles:
- { apt-sources,
apt_sources_file: "/etc/apt/sources.list.d/mysource.list",
apt_sources_security: no
}
git submodule add https://github.com/bramford/ansible-role-apt-sources.git roles/apt-sources