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 :
---
- name: Configure yazi-fm
when:
- __yazi_configured is undefined or
not __yazi_configured
block:
- name: Configure yazi installation
- name: Configure yazi installation # {{{
ansible.builtin.set_fact:
yazi_git_repo: https://github.com/sxyazi/yazi.git
yazi_version: v26.1.22
yazi_pkgname: yazi
yazi_pkg_depends:
methods:
- source
version: v26.1.22
git:
repo: https://github.com/sxyazi/yazi.git
pkgname: yazi
pkg_depends:
- fd
- ripgrep
- fzf
- zoxide
yazi_build_depends:
build_depends:
RedHat:
- ImageMagick
- ffmpeg-free
@@ -36,6 +34,15 @@
- oniguruma
- p7zip
- 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
ansible.builtin.set_fact:
yazi_src_install:
@@ -60,8 +67,6 @@
ansible.builtin.set_fact:
__yazi_configured: true
- name: Add yazi-fm
block:
- name: Append yazi-fm pkg_deps
loop: "{{ yazi_pkg_depends }}"
loop_control: