dotfiles/roles/fzf/tasks/install/redhat.yml

22 lines
569 B
YAML
Raw Normal View History

---
# 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