arillso.system.apt_packages role – Manage APT packages
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_packages
.
Entry point main
– Manage APT packages
Synopsis
This specification manages the installation, update, and removal of APT packages on a system.
Parameters
Parameter |
Comments |
---|---|
Default value for allowing package downgrades. Used if not specified in the package list. Choices:
|
|
Default value for forcing the use of apt-get. Used if not specified in the package list. Choices:
|
|
Default value for installing recommended packages. Used if not specified in the package list. Choices:
|
|
A list of APT packages to manage. Each entry can be a package name or a dictionary with additional options. Default: |
|
Whether to allow downgrading of packages. Choices:
|
|
Whether to force the use of apt-get instead of apt. Choices:
|
|
Whether to install recommended packages along with the main package. Choices:
|
|
Lock timeout in seconds when installing packages. |
|
The name of the APT package. |
|
Whether to purge packages. Choices:
|
|
The desired state of the package (‘present’, ‘absent’, ‘latest’, etc.). |
|
The version of the package to be installed or managed. |
|
Default value for the lock timeout. Used if not specified in the package list. Default: |
|
Default value for purging packages. Used if not specified in the package list. Choices:
|
|
Default state of APT packages. Used if not specified in the package list. Default: |