[EVO] S'assurer que les paquets pipx sont dans le path
This commit is contained in:
parent
4c9b9c2054
commit
4347a0c257
6
handlers/main.yml
Normal file
6
handlers/main.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
# handlers file for ansible
|
||||||
|
|
||||||
|
- name: Redémarrer le système
|
||||||
|
ansible.builtin.reboot:
|
||||||
|
become: true
|
@ -15,3 +15,10 @@
|
|||||||
become: true
|
become: true
|
||||||
become_user: "{{ elbisna_user }}"
|
become_user: "{{ elbisna_user }}"
|
||||||
loop: "{{ elbisna_pip_packages }}"
|
loop: "{{ elbisna_pip_packages }}"
|
||||||
|
|
||||||
|
- name: S'assurer qu'ansible est dans le path
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: pipx ensurepath
|
||||||
|
become: true
|
||||||
|
become_user: "{{ elbisna_user }}"
|
||||||
|
notify: Redémarrer le système
|
||||||
|
Loading…
Reference in New Issue
Block a user