[EVO] Utiliser pipx
This commit is contained in:
parent
3409ac723c
commit
7911ebd577
@ -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
|
||||||
|
@ -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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user