[EVO] S'assurer que les paquets pipx sont dans le path

This commit is contained in:
pulsar89.5 2023-10-12 16:46:03 +02:00
parent 4c9b9c2054
commit 4347a0c257
2 changed files with 13 additions and 0 deletions

6
handlers/main.yml Normal file
View File

@ -0,0 +1,6 @@
---
# handlers file for ansible
- name: Redémarrer le système
ansible.builtin.reboot:
become: true

View File

@ -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