From 9a0c90a09f8547a16259a74ef5eecf8cfcc784f9 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Mon, 18 Dec 2023 17:12:52 +0100 Subject: [PATCH] feat: Compliant with bookworm --- tasks/installation.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tasks/installation.yml b/tasks/installation.yml index 8774963..24bd8be 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -1,24 +1,25 @@ --- # tasks file for borgmatic -- name: Installer python3-pip +- name: Installer pipx ansible.builtin.apt: - name: python3-pip + name: pipx state: latest become: true - name: Installer borgbackup - ansible.builtin.apt: + community.general.pipx: name: borgbackup state: latest - default_release: "{{ borgmatic_distribution_release }}-backports" + install_deps: true + include_injected: true become: true -- name: Installer le paquet avec pip - ansible.builtin.pip: - name: borgmatic - state: latest - become: true +- name: Installer borgmatic + community.general.pipx: + name: borgbackuo + state: inject + inject_packages: borgmatic - name: Créer l'exemple de configuration ansible.builtin.command: