arillso.system.pip role – Python package and module 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.pip.

Entry point main – Python package and module management for Linux systems

Synopsis

  • This role manages the installation and management of Python packages and modules.

  • It allows specifying package names, versions, additional arguments, and module management.

Parameters

Parameter

Comments

pip_executable

string

Default executable path for Pip. Can be overridden if needed.

pip_extra_args

string

Additional arguments to pass to the Pip executable.

pip_modules

list / elements=dictionary

A list of Python modules to be installed or managed via Pip.

extra_args

string

Extra arguments to pass during the module installation.

name

string / required

The name of the Python module.

state

string

Desired state of the module: ‘present’, ‘latest’, or ‘absent’.

version

string

Specific version of the module to be installed. Optional.

pip_packages

list / elements=string

A list of Python packages to be installed via the package manager.