arillso.system.apt_repositories role – Manage APT repositories
Note
This role is part of the arillso.system collection (version 0.0.34).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install arillso.system
.
To use it in a playbook, specify: arillso.system.apt_repositories
.
Entry point main
– Manage APT repositories
Synopsis
This specification manages the addition, modification, and removal of APT repositories on a system.
Parameters
Parameter |
Comments |
---|---|
Default filename for APT repositories if not specified in each repository dictionary. Default: |
|
A list of dictionaries specifying APT repositories to manage. Default: |
|
Codename of the distribution version for the repository. |
|
Filename under which the repository is stored. Default: |
|
Whether to install the python-apt package if necessary for the repository. Choices:
|
|
File permissions for the repository file. |
|
Repository entry line (e.g., ‘deb http://myrepo.example.com/debian buster main’). |
|
State of the repository (‘present’ or ‘absent’). Default: |
|
Whether to update the cache after adding the repository. Choices:
|
|
Number of retries to update the cache after adding the repository. Default: |
|
Maximum delay in seconds between retries to update the cache. Default: |
|
Whether to validate SSL certificates for HTTPS repositories. Choices:
|
|
Default value to decide whether to update the cache after adding a repository. Choices:
|
|
Default value for the number of retries to update the cache after adding a repository. Default: |
|
Default maximum delay in seconds between retries to update the cache. Default: |
Entry point repositories
– Manage APT repositories
Synopsis
This specification manages the addition, modification, and removal of APT repositories on a system.
Parameters
Parameter |
Comments |
---|---|
Default filename for APT repositories if not specified in each repository dictionary. Default: |
|
A list of dictionaries specifying APT repositories to manage. Default: |
|
Codename of the distribution version for the repository. |
|
Filename under which the repository is stored. Default: |
|
Whether to install the python-apt package if necessary for the repository. Choices:
|
|
File permissions for the repository file. |
|
Repository entry line (e.g., ‘deb http://myrepo.example.com/debian buster main’). |
|
State of the repository (‘present’ or ‘absent’). Default: |
|
Whether to update the cache after adding the repository. Choices:
|
|
Number of retries to update the cache after adding the repository. Default: |
|
Maximum delay in seconds between retries to update the cache. Default: |
|
Whether to validate SSL certificates for HTTPS repositories. Choices:
|
|
Default value to decide whether to update the cache after adding a repository. Choices:
|
|
Default value for the number of retries to update the cache after adding a repository. Default: |
|
Default maximum delay in seconds between retries to update the cache. Default: |