Merge pull request '[EVO] Utiliser pipx' (#1) from pipx into master

Reviewed-on: #1
This commit is contained in:
pulsar89.5 2023-10-05 10:57:17 +00:00
commit 4c9b9c2054
2 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# defaults file for ansible # defaults file for ansible
elbisna_prerequisites: elbisna_prerequisites:
- python3-pip - pipx
elbisna_pip_packages: elbisna_pip_packages:
- ansible - ansible

View File

@ -8,6 +8,10 @@
become: true become: true
- name: Installer ansible - name: Installer ansible
ansible.builtin.pip: community.general.pipx:
name: "{{ elbisna_pip_packages }}" name: "{{ item }}"
state: latest
install_deps: true
become: true become: true
become_user: "{{ elbisna_user }}"
loop: "{{ elbisna_pip_packages }}"