Sostituzione di prepare con un playbook che viene lanciato sulla macchina locale.

This commit is contained in:
Emiliano Vavassori 2024-10-01 00:19:21 +02:00
parent 23343af106
commit 813cf57d54
78 changed files with 885 additions and 70 deletions

View file

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

View file

@ -0,0 +1,9 @@
---
# FZF on Arch
- name: (arch) FZF install
community.general.pacman:
name: fzf
state: present
update_cache: true
become: true

View file

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

View file

@ -0,0 +1,21 @@
---
# FZF on RedHat
# reverting to installation from git repo
- name: (rHa) FZF - Build directory
ansible.builtin.file:
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.fzf"
state: directory
owner: syntaxerrormmm
group: syntaxerrormmm
mode: '0755'
- name: (rHa) FZF - clone from git
ansible.builtin.git:
repo: https://github.com/junegunn/fzf.git
depth: 1
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.fzf"
- name: (rHa) FZF - Installing
ansible.builtin.command: >-
{{ lookup('ansible.builtin.env', 'HOME' ) }}/.fzf/install

View file

@ -0,0 +1,9 @@
---
# FZF - install on Void
- name: (void) FZF - install
community.general.xbps:
name: fzf
state: present
update_cache: true
become: true