--- # tasks file for borgmatic - name: Installer les prérequis ansible.builtin.apt: 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 community.general.pipx: state: latest name: borgbackup install_deps: true include_injected: true become: true - name: Installer borgmatic community.general.pipx: state: inject name: borgbackup inject_packages: borgmatic become: true - name: Créer l'exemple de configuration ansible.builtin.command: cmd: generate-borgmatic-config creates: /etc/borgmatic/config.yaml become: true