bramford.apt-sources
Ansible Role: apt-sources
This Ansible role sets up apt sources for Ubuntu and Debian. By default, it uses dynamic mirrors.
Supported Operating Systems
- Debian (all versions)
- Ubuntu (all versions)
Requirements
- Ansible version 2.1 or higher
Role Variables
Check ./defaults/main.yml
for the variables that can be configured and their default values.
Example Playbook
---
- name: Example play
hosts: all
roles:
- { apt-sources }
Example Playbook (with optional variables)
---
- 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
}
How to Add as a Submodule to Your Playbook Repository
Run the following command:
git submodule add https://github.com/bramford/ansible-role-apt-sources.git roles/apt-sources
Installa
ansible-galaxy install bramford.apt-sources
Licenza
mit
Download
105
Proprietario