arillso.system.packages role – Package management for Linux systems
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.packages
.
Entry point main
– Package management for Linux systems
Synopsis
This role manages package installations, upgrades, and removals on Linux systems.
It provides options for specifying package names, versions, and desired states.
Parameters
Parameter |
Comments |
---|---|
A list of packages to be managed. |
|
Allow downgrading the package if necessary. Default is false. Choices:
|
|
Force usage of apt-get instead of aptitude. Default is false. Choices:
|
|
Ignore checksums during installation. Default is false. Choices:
|
|
Whether to install recommended packages. Default is true. Choices:
|
|
Timeout for the apt lockfile. Default is 30 seconds. |
|
The name of the package. |
|
Purge configurations on package removal. Default is false. Choices:
|
|
Desired state of the package: ‘present’, ‘latest’, or ‘absent’. |
|
Specific version of the package to be installed. Use ‘latest’ for the most recent version. |