diff --git a/tasks/main.yml b/tasks/main.yml
index 663d2a9aef287a53c0a0ae438282d409d27af202..3e070746aea5a9e397e6e0147e24fead96fa3146 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: