From a1ec5fe880d4f588c9e554555677e0c4f551642a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net>
Date: Mon, 27 Dec 2021 15:39:09 +0100
Subject: [PATCH] Correct literal-compare (ansible-lint)

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

diff --git a/tasks/main.yml b/tasks/main.yml
index 663d2a9..3e07074 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -38,7 +38,7 @@
 
 - name: Create Borg Repo
   shell: "BORG_PASSPHRASE={{ borgbackup_key }} borg init -e repokey borgbackup@{{ borgbackup_target_ip }}:backup"
-  when: repo.stat.exists == False
+  when: not repo.stat.exists
 
 - name: Install borgmatic
   pip:
-- 
GitLab