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
Git
Description
This Ansible role installs Git on the target system using the Pacman package manager. It ensures that Git is installed only once, even when the role is applied to multiple hosts or executed in a multi-task scenario.
Overview
Designed for Arch Linux systems, this role leverages the pacman module to install Git. It uses a fact (run_once_dev_git) to control task execution, ensuring that the Git installation is performed only once per run.
Purpose
The purpose of this role is to automate the installation of Git in a consistent and idempotent manner. It is especially useful in environments where Git is a prerequisite for further automation or development tasks.
Features
- Git Installation: Uses the Pacman package manager to install Git.
- Idempotent Execution: Sets a fact to guarantee that the installation tasks are executed only once.
- Optimized Deployment: Suitable for use in multi-host environments to avoid redundant installations.
Credits 📝
Developed and maintained by Kevin Veen-Birkenbach.
Learn more at www.veen.world
Part of the Infinito.Nexus Project
License: Infinito.Nexus NonCommercial License