Files
ansible_role_package/tasks/helpers/pipx.yml
2026-04-13 14:50:45 -06: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