From e6aff771b64994f24131828f11779420424a9c6d Mon Sep 17 00:00:00 2001
From: David Mehren <git@herrmehren.de>
Date: Thu, 9 May 2024 14:25:23 +0200
Subject: [PATCH] Add Debian 12 workaround

---
 tasks/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tasks/main.yml b/tasks/main.yml
index 7172707..37a0e3c 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -49,6 +49,7 @@
     name: borgmatic
     state: latest
     executable: pip3
+    extra_args: "{{ (ansible_distribution_release == 'bookworm') | ternary('--break-system-packages', '') }}"
 
 - name: Create borgmatic config folder
   ansible.builtin.file:
-- 
GitLab