ansible-role-apt – An Ansible role that manages the APT configuration and updates the /etc/apt/sources.list for Debian and Ubuntu systems

The ansible-role-apt Ansible role manages the APT configuration and updates the /etc/apt/sources.list for Debian and Ubuntu systems.

Role variables

Important variables:

VariableDescriptionDefault
apt_debian_communityEnables community repositories (Debian contrib and main, or Ubuntu universe)true
apt_debian_nonfreeEnables non-free repositories (Debian non-free, non-free-firmware, or Ubuntu multiverse)true
apt_debian_backportsEnables the backports repository on Debian (no effect on Ubuntu systems)false
apt_deb_srcEnables source package repositories (deb-src entries)false

Other variables:

VariableDescriptionDefault
apt_mirror_url_debianDebian mirror URL"http://deb.debian.org/debian"
apt_mirror_url_debian_securityDebian security mirror URL"http://deb.debian.org/debian-security"
apt_mirror_url_ubuntuUbuntu mirror URL"http://archive.ubuntu.com/ubuntu"

Links

Leave a Reply

Your email address will not be published. Required fields are marked *