updating and removing

This commit is contained in:
2026-03-15 22:38:49 -06:00
parent fe266d4b73
commit f52a6eca6a
9 changed files with 130 additions and 85 deletions

View File

@@ -1,11 +1,17 @@
# vim: set filetype=yaml.ansible :
#
## Package: broot
## Description: terminal utility for navigating directory trees
## Version: 1.55.0
## Methods: [source, system]
## Helpers: cargo
---
- name: Set default broot values
ansible.builtin.set_fact:
broot:
install_methods:
- system
- source
- system
version: 1.55.0
build_deps:
Debian:
@@ -26,8 +32,19 @@
- name: Set broot install method
when:
- broot_install_method is undefined
ansible.builtin.set_fact:
broot_install_method: "{{ install_method if install_method in broot.install_methods else broot.install_methods[0] }}"
block:
- name: Configure for RedHat <= 10
when:
- os_family == 'RedHat'
- ansible_distribution_major_version|int <= 10
ansible.builtin.set_fact:
broot_install_method: source
- name: Fallback set ansible_lint install method
when:
- broot_install_method is undefined
ansible.builtin.set_fact:
broot_install_method: "{{ install_method if install_method in broot.install_methods else broot.install_methods[0] }}"
- name: Configure broot source install
when:
@@ -38,6 +55,7 @@
broot_cargo_install:
name: broot
version: "{{ broot.version }}"
- name: Append broot to install list
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + broot.build_deps[os_family] }}"