debops.extrepo default variables
Installation and packages
- extrepo__enabled
Enable or disable configuration of external APT repositories using the extrepo command.
extrepo__enabled: '{{ False
if (ansible_distribution != "Debian" or
ansible_distribution_release in ["stretch"])
else True }}'
- extrepo__base_packages
List of the default APT packages to install for extrepo support.
On Debian Buster, the extrepo
package is available via the
buster-backports
repository.
extrepo__base_packages: [ 'extrepo' ]
- extrepo__packages
List of additional packages to install with extrepo.
extrepo__packages: []
Main configuration file
These variables define the contents of the /etc/extrepo/config.yaml
configuration file. See extrepo__configuration for more details.
- extrepo__default_configuration
The list with default contents of the configuration file defined by the role.
extrepo__default_configuration:
- name: 'defaults'
config:
url: 'https://extrepo-team.pages.debian.net/extrepo-data'
dist: '{{ ansible_distribution | lower }}'
version: '{{ ansible_distribution_release }}'
- name: 'policies'
config:
enabled_policies: '{{ ansible_local.apt.components | d(["main"]) }}'
- extrepo__configuration
List of custom contents of the configuration file defined by the user.
extrepo__configuration: []
- extrepo__combined_configuration
The variable which combines the lists of configuration file contents and is used in role tasks and templates.
extrepo__combined_configuration: '{{ extrepo__default_configuration
+ extrepo__configuration }}'
External APT sources
These lists define what external APT sources should be enabled on a given host. You can find a list of available APT sources by running the extrepo search command.
See extrepo__sources for more details.
- extrepo__sources
List of the external APT sources which should be enabled on all hosts in the Ansible inventory.
extrepo__sources: []
- extrepo__group_sources
List of the external APT sources which should be enabled on hosts in a specific Ansible inventory group.
extrepo__group_sources: []
- extrepo__host_sources
List of the external APT sources which should be enabled on specific hosts in the Ansible inventory.
extrepo__host_sources: []
- extrepo__dependent_sources
List of the external APT sources defined by other Ansible roles via role dependent variables.
extrepo__dependent_sources: []
- extrepo__combined_sources
Variable which combines all lists of external APT sources and is used in role tasks and templates.
extrepo__combined_sources: '{{ extrepo__dependent_sources
+ extrepo__sources
+ extrepo__group_sources
+ extrepo__host_sources }}'