Compare commits

..

No commits in common. "7c5742451bac6804c9cf4146e2760459be04a4a8" and "4c9b9c2054643f5cf48b0a7e896ddbc55d1e07c1" have entirely different histories.

3 changed files with 5 additions and 31 deletions

View File

@ -4,9 +4,9 @@
elbisna_prerequisites: elbisna_prerequisites:
- pipx - pipx
elbisna_inject_packages: elbisna_pip_packages:
- ansible
- netaddr - netaddr
- dnspython
elbisna_vault_passwd: "" elbisna_vault_passwd: ""

View File

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

View File

@ -9,29 +9,9 @@
- name: Installer ansible - name: Installer ansible
community.general.pipx: community.general.pipx:
name: ansible name: "{{ item }}"
state: latest state: latest
install_deps: true install_deps: true
become: true become: true
environment: become_user: "{{ elbisna_user }}"
PIPX_HOME: /opt/pipx loop: "{{ elbisna_pip_packages }}"
PIPX_BIN_DIR: /usr/local/bin
- name: Injecter des paquets
community.general.pipx:
name: ansible
inject_packages: "{{ elbisna_inject_packages }}"
state: inject
become: true
environment:
PIPX_HOME: /opt/pipx
PIPX_BIN_DIR: /usr/local/bin
- name: Mettre à jour l'environnement
community.general.pipx:
name: ansible
state: upgrade_all
become: true
environment:
PIPX_HOME: /opt/pipx
PIPX_BIN_DIR: /usr/local/bin