Files
computer-playbook/roles/dev-python-pip
kevinveenbirkenbach fd54faff65 refactor(ansible): replace pacman installs with package
Migrate most roles from community.general.pacman to the generic package module for better portability. Keep pacman where it is required (system upgrades and Arch-specific tasks). Split VirtualBox setup into an Arch-only task file and add a warning when skipped on non-Arch systems. Update integration test examples accordingly.

https://chatgpt.com/share/6947ce9f-3228-800f-8365-2253b5ed9451
2025-12-21 11:40:10 +01:00
..
…
…

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.

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.