fixing yazi

This commit is contained in:
Matthew Stobbs
2026-04-12 17:28:00 -06:00
parent 3a39c083a8
commit 0fc65e8008

View File

@@ -1,21 +1,19 @@
# vim: set filetype=yaml.ansible : # vim: set filetype=yaml.ansible :
--- ---
- name: Configure yazi-fm - name: Configure yazi installation # {{{
when:
- __yazi_configured is undefined or
not __yazi_configured
block:
- name: Configure yazi installation
ansible.builtin.set_fact: ansible.builtin.set_fact:
yazi_git_repo: https://github.com/sxyazi/yazi.git methods:
yazi_version: v26.1.22 - source
yazi_pkgname: yazi version: v26.1.22
yazi_pkg_depends: git:
repo: https://github.com/sxyazi/yazi.git
pkgname: yazi
pkg_depends:
- fd - fd
- ripgrep - ripgrep
- fzf - fzf
- zoxide - zoxide
yazi_build_depends: build_depends:
RedHat: RedHat:
- ImageMagick - ImageMagick
- ffmpeg-free - ffmpeg-free
@@ -36,6 +34,15 @@
- oniguruma - oniguruma
- p7zip - p7zip
- poppler - poppler
# }}}
- name: Configure yazi install
when:
- "'yazi' not in __configured"
block:
- name: Set yazi install method
when:
- yazi_imethod is undefined
ansible.builtin.set_fact:
- name: Configure yazi source install - name: Configure yazi source install
ansible.builtin.set_fact: ansible.builtin.set_fact:
yazi_src_install: yazi_src_install:
@@ -60,8 +67,6 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
__yazi_configured: true __yazi_configured: true
- name: Add yazi-fm
block:
- name: Append yazi-fm pkg_deps - name: Append yazi-fm pkg_deps
loop: "{{ yazi_pkg_depends }}" loop: "{{ yazi_pkg_depends }}"
loop_control: loop_control: