From 19167bcce09aa5732b6194999923e3dfb3cac452 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 12 Oct 2025 16:03:51 +0100 Subject: [PATCH] Fix package uninstall --- tasks/uninstall.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/uninstall.yaml b/tasks/uninstall.yaml index 612e71d..6462f1d 100644 --- a/tasks/uninstall.yaml +++ b/tasks/uninstall.yaml @@ -20,6 +20,8 @@ ansible.builtin.package: name: borgmatic state: absent + when: + - not (borgmatic_install_from_pip | default(false)) - name: Remove borgmatic configuration directory ansible.builtin.file: