mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
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
Python-Yaml
Description
This Ansible role installs the python-yaml package on the target system. It ensures that the Python yaml library is available for loading and processing YAML files.
Overview
Optimized for simplicity and idempotency, this role provides:
- Installation of the
python-yamlpackage via the Pacman package manager. - A mechanism to run the installation only once.
Purpose
The purpose of this role is to reliably provide the Python-YAML package so that Python scripts can work with YAML files.
Features
- YAML Support: Installs the
python-yamlpackage, which supplies theyamllibrary for Python. - Idempotency: Uses a fact to ensure that the installation runs only on the first execution.