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,37 @@
# vim: set filetype=yaml.ansible :
#
## Package: btop
## Description: TUI system monitor that looks
## Version: system
## Methods: system
## Helpers: -
---
- name: Append btop to pkg_ssys
- name: Set default btop options # {{{
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['btop'] }}"
btop:
methods:
- system
pkgname: btop
# }}}
- name: Configure btop install
when:
- "'btop' not in __configured"
block:
- name: Set btop install method
ansible.builtin.set_fact:
btop_imethod: "{{ imethod if imethod in btop.methods else btop.methods[0] }}"
- name: Configure btop system install
when:
- btop_imethod == 'system'
block:
- name: Append btop to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + [btop.pkgname] }}"
- name: Finalise btop system install
ansible.builtin.set_fact:
btop_install: "{{ btop_imethod }}={{ btop.pkgname }}"
- name: Finalise btop configuration
ansible.builtin.set_fact:
__configured: "{{ __configured | combine( { 'btop': btop_install } ) }}"