Squash merge move_to_single_file_pkgs into main

This commit is contained in:
Matthew Stobbs
2026-04-13 14:50:45 -06:00
parent ff740426c8
commit 8dc427f027
373 changed files with 3883 additions and 9963 deletions

View File

@@ -1,5 +1,40 @@
# vim: set filetype=yaml.ansible :
#
## Package: fzf
## Description: the standard for fuzzy finders
## Version: latest
## Methods: system
## Helpers: -
---
- name: Append fzf to pkg_sys
- name: Set fzf default facts # {{{
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['fzf'] }}"
fzf:
methods:
- system
pkgname: fzf
# }}}
- name: Configure fzf
when:
- "'fzf' not in __configured"
block:
- name: Set fzf install method
when:
- fzf_imethod is undefined
ansible.builtin.set_fact:
fzf_imethod: "{{ imethod if imethod in fzf.methods else fzf.methods[0] }}"
- name: Configure fzf system install
when:
- fzf_imethod == "system"
block:
- name: Append fzf to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['fzf'] }}"
- name: Finalise fzf system install
ansible.builtin.set_fact:
fzf_install: "{{ fzf_imethod }}={{ fzf.pkgname }}"
- name: Finalize fzf configuration
ansible.builtin.set_fact:
__configured: "{{ __configured | combine( { 'fzf': fzf_install } ) }}"