Semplifico installazione git.

This commit is contained in:
Emiliano Vavassori 2024-12-23 22:46:00 +01:00
parent 6fedffb882
commit 47ffd49eed
6 changed files with 5 additions and 51 deletions

View File

@ -1,9 +0,0 @@
---
# git on alpine
- name: (alp) installing git
community.general.apk:
name: git
state: present
update_cache: true
become: true

View File

@ -1,9 +0,0 @@
---
# git on Archlinux
- name: (arch) installing git
community.general.pacman:
name: git
state: present
update_cache: true
become: true

View File

@ -1,9 +0,0 @@
---
# git on Debian
- name: (deb) installing git
ansible.builtin.apt:
name: git
state: present
update_cache: true
become: true

View File

@ -1,9 +0,0 @@
---
# git on RedHat
- name: (rHa) installing git
ansible.builtin.yum:
name: git
state: present
update_cache: true
become: true

View File

@ -1,9 +0,0 @@
---
# git on void
- name: (void) installing git
community.general.xbps:
name: git
state: present
update_cache: true
become: true

View File

@ -2,12 +2,11 @@
# Installing and configuring git
- name: Installation
ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml"
args:
apply:
tags:
- git
- git-install
ansible.builtin.package:
name: git
state: present
update_cache: true
become: true
tags:
- git
- git-install