[EVO] S'assurer que les paquets pipx sont dans le path
This commit is contained in:
parent
4c9b9c2054
commit
f99b3c444e
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,13 @@
|
||||
become: true
|
||||
become_user: "{{ elbisna_user }}"
|
||||
loop: "{{ elbisna_pip_packages }}"
|
||||
environment:
|
||||
PIPX_HOME: /opt/pipx
|
||||
PIPX_BIN_DIR: /usr/local/bin
|
||||
|
||||
#- 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