just finished cbfmt

This commit is contained in:
Matthew Stobbs
2026-03-14 20:22:51 -06:00
parent 19ec5f341b
commit fe266d4b73
10 changed files with 166 additions and 38 deletions

View File

@@ -1,5 +1,26 @@
# vim: set filetype=yaml.ansible :
---
- name: Append btop to pkg_ssys
- name: Set default btop options
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['btop'] }}"
btop:
install_methods:
- system
pkgname: btop
- name: Configure btop install
when:
- "'btop' not in __configured"
block:
- name: Set btop install method
ansible.builtin.set_fact:
btop_install_method: "{{ install_method if install_method in btop.install_methods else btop.install_methods[0] }}"
- name: Configure btop system install
when:
- btop_install_method == 'system'
block:
- name: Append btop to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + [btop.pkgname] }}"
- name: Finalise btop configuration
ansible.builtin.set_fact:
__configured: "{{ __configured | combine( { 'btop': btop_install_method } ) }}"