dotfiles/roles/fzf/tasks/install/redhat.yml
2024-10-01 09:17:39 +02:00

22 lines
569 B
YAML

---
# 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
mode: '0755'
- name: (rHa) FZF - clone from git
ansible.builtin.git:
# noqa: latest[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
changed_when: true