Files
ansible_role_package/tasks/helpers/pipx.yml
Matthew Stobbs 692e9dd99a start developing module for go_install
not going to be used for a long time
Making pkg tasks truly single file
2026-03-03 21:35:46 -07:00

18 lines
489 B
YAML

# 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.name }}
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
environment:
PIPX_HOME: "{{ path_pipx }}"
PIPX_BIN_DIR: "{{ path_bin }}"
community.general.pipx:
executable: "{{ pipx_exec }}"
name: "{{ pkg.name }}"
state: latest