feat: Compliant with bookworm

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

View File

@ -1,23 +1,37 @@
---
# 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
community.general.pipx:
state: latest
default_release: "{{ borgmatic_distribution_release }}-backports"
name: borgbackup
install_deps: true
include_injected: true
become: true
- name: Installer le paquet avec pip
ansible.builtin.pip:
name: borgmatic
state: latest
- name: Installer borgmatic
community.general.pipx:
state: inject
name: borgbackup
inject_packages: borgmatic
become: true
- name: Créer l'exemple de configuration