Dev-git Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Installs Git using the Pacman package manager on Arch Linux systems.
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
min_ansible_version: 2.9
platforms: [{‘name’: ‘Archlinux’, ‘versions’: [‘rolling’]}]
galaxy_tags: [‘git’, ‘pacman’, ‘archlinux’, ‘installation’]
README¶
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.