feat: Compliant with bookworm

This commit is contained in:
pulsar89.5 2023-12-18 17:12:52 +01:00
parent 0fc8eb6a4b
commit 4839e68038

View File

@ -1,24 +1,27 @@
--- ---
# tasks file for borgmatic # tasks file for borgmatic
- name: Installer python3-pip - name: Installer les prérequis
ansible.builtin.apt: ansible.builtin.apt:
name: python3-pip
state: latest state: latest
name:
- pipx
- pkg-config
become: true become: true
- name: Installer borgbackup - name: Installer borgbackup
ansible.builtin.apt: community.general.pipx:
name: borgbackup
state: latest state: latest
default_release: "{{ borgmatic_distribution_release }}-backports" name: borgbackup
install_deps: true
include_injected: true
become: true become: true
- name: Installer le paquet avec pip - name: Installer borgmatic
ansible.builtin.pip: community.general.pipx:
name: borgmatic state: inject
state: latest name: borgbackup
become: true inject_packages: borgmatic
- name: Créer l'exemple de configuration - name: Créer l'exemple de configuration
ansible.builtin.command: ansible.builtin.command: