start developing module for go_install

not going to be used for a long time
Making pkg tasks truly single file
This commit is contained in:
Matthew Stobbs
2026-03-03 21:35:46 -07:00
parent 065031b77f
commit 692e9dd99a
28 changed files with 417 additions and 537 deletions

View File

@@ -1,11 +1,17 @@
# vim: set filetype=yaml.ansible :
#
## Helper: pipx.yml
## Description: modular approach to installing pip applications
## Variables:
## name: the name of the pip package to install
---
- name: Install pipx {{ pkg }}
become: "{{ ext_become }}"
- name: Install pipx {{ pkg.name }}
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
environment:
PIPX_HOME: "{{ path.pipx }}"
PIPX_BIN_DIR: "{{ path.bin }}"
PIPX_HOME: "{{ path_pipx }}"
PIPX_BIN_DIR: "{{ path_bin }}"
community.general.pipx:
executable: "{{ pipx_exec }}"
name: "{{ pkg }}"
name: "{{ pkg.name }}"
state: latest