diff --git a/tasks/installation.yml b/tasks/installation.yml index 8774963..5e8c3b6 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -1,23 +1,32 @@ --- # tasks file for borgmatic -- name: Installer python3-pip +- name: Installer les prérequis ansible.builtin.apt: - name: python3-pip state: latest + name: + - pipx + - build-essential + - libacl1-dev + - libacl1 + - libb2-dev + - liblz4-dev + - libssl-dev + - libzstd-dev + - pkg-config + - python3 + - python3-dev + - python3-pkgconfig become: true -- name: Installer borgbackup - ansible.builtin.apt: - name: borgbackup - state: latest - default_release: "{{ borgmatic_distribution_release }}-backports" - become: true - -- name: Installer le paquet avec pip - ansible.builtin.pip: - name: borgmatic +- name: Installer les paquets + community.general.pipx: state: latest + name: + - borgbackup + - borgmatic + install_deps: true + include_injected: true become: true - name: Créer l'exemple de configuration