Sys-pip Role¶
Description: Package manager for installing and managing Python packages on the target host
Variables¶
author: Kevin Veen-Birkenbach
description: Package manager for installing and managing Python packages on the target host
license: Infinito.Nexus Community License (Non-Commercial)
company: Kevin Veen-Birkenbach https://www.veen.world
min_ansible_version: 2.9
platforms: [{‘name’: ‘ArchLinux’, ‘versions’: [‘all’]}, {‘name’: ‘Debian’, ‘versions’: [‘all’]}, {‘name’: ‘EL’, ‘versions’: [‘all’]}, {‘name’: ‘Fedora’, ‘versions’: [‘all’]}, {‘name’: ‘Ubuntu’, ‘versions’: [‘all’]}]
galaxy_tags: [‘python’, ‘pip’, ‘package’, ‘installation’, ‘automation’]
issue_tracker_url: https://s.infinito.nexus/issues
README¶
Python-Pip¶
Description¶
This role installs the python-pip package on the target system. It ensures that the pip package manager is available for installing Python packages.
Overview¶
Optimized for simplicity and idempotency, this role:
Installs the python-pip package using pacman.
Sets a flag to ensure the installation tasks run only once.
Cosmos¶
The diagram places Python-Pip in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks).
flowchart LR
subgraph role [sys-pip 💻]
svc_pip["pip"]
endSolid 1:1 edges are fixed relationships; dashed 0..1 edges are
conditional (enabled only in matching deployments); red 0..0 edges
are turned off in this role. Node markers show the role’s deploy modes
(💻 host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly
turned off, and ⚙️ an Ansible role dependency declared in
meta/main.yml.
Purpose¶
The primary purpose of this role is to provide a reliable installation of the Python package manager, pip, ensuring that subsequent Python package installations can proceed without issues.
Features¶
Pip Installation: Installs python-pip if not already present.
Idempotency: Ensures tasks are executed only once.
Credits¶
Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).