basic installs working

need to run tests on all the builds alone, should use a container system
This commit is contained in:
2026-03-27 22:04:05 -06:00
parent 7f00bb70dc
commit 3a39c083a8
15 changed files with 154 additions and 25 deletions

View File

@@ -1,5 +1,33 @@
# vim: set filetype=yaml.ansible :
---
- name: Append pipx to pkg_sys
- name: Set pipx default facts
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pipx'] }}"
pipx:
methods:
- system
- name: Configure pipx
when:
- "'pipx' not in __configured"
block:
- name: Set pipx install method
when:
- pipx_imethod is undefined
ansible.builtin.set_fact:
pipx_imethod: "{{ imethod if imethod in pipx.methods else pipx.methods[0] }}"
- name: Configure pipx system install
when:
- pipx_imethod == 'system'
block:
- name: Queue pipx system install
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['pipx'] }}"
- name: Finalise pipx system install
ansible.builtin.set_fact:
pipx_install: "{{ pipx_imethod }}=pipx"
- name: Finalise pipx configuration
ansible.builtin.set_fact:
__configured: "{{ __configured | combine( { 'pipx': pipx_install } ) }}"