Files
computer-playbook/roles/svc-opt-swapfile/vars/main.yml
kevinveenbirkenbachandClaude Opus 5 6c558e7feb refactor(roles): install CLI tools via pip instead of pkgmgr
Eight roles switch from pkgmgr-install to sys-pip-install with global_install: true, so the console scripts land on the system PATH where systemd looks for them.

btrfs-auto-balancer, certreap, certbundle and unit-suffix-remover come from PyPI by name. The three that are not published yet install from git, with repository and ref declared in meta/services.yml and resolved through vars, following the pkgmgr and web-app-taiga precedent. That satisfies the repository-declaration guard and lets the scheduled Update: Versions workflow read and bump the refs.

Drops a dead guard in svc-opt-swapfile that tested run_once_pkgmgr_install, a fact nothing sets any more.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 16:03:40 +02:00

8 lines
326 B
YAML

---
application_id: "svc-opt-swapfile"
SWAPFILE_SIZE: "{{ lookup('config', application_id, 'services.swapfile.swapfile_size') }}"
SWAPFILE_PKG: "swap-forge"
SWAPFILE_REPO: "{{ lookup('config', application_id, 'services.swapfile.repository') }}"
SWAPFILE_REF: "{{ lookup('config', application_id, 'services.swapfile.ref') }}"