From 0b0792c4cc224983bcd899281c6874f752de510f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net>
Date: Mon, 29 Nov 2021 20:28:38 +0100
Subject: [PATCH] Fix ansible-lint literal-compare violations

---
 tasks/main.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index 5839b9c..4269ec7 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -24,11 +24,11 @@
     url: "{{ gitlab_repository_installation_script_url }}"
     dest: /tmp/gitlab_install_repository.sh
     validate_certs: "{{ gitlab_download_validate_certs }}"
-  when: (gitlab_file.stat.exists == false)
+  when: not gitlab_file.stat.exists
 
 - name: Install GitLab repository
   command: bash /tmp/gitlab_install_repository.sh
-  when: (gitlab_file.stat.exists == false)
+  when: not gitlab_file.stat.exists
 
 - name: Add GitLab apt signing key
   apt_key:
@@ -45,7 +45,7 @@
   package:
     name: "{{ gitlab_package_name | default(gitlab_edition) }}"
     state: present
-  when: (gitlab_file.stat.exists == false)
+  when: not gitlab_file.stat.exists
 
 # Start and configure GitLab. Sometimes the first run fails, but after that,
 # restarts fix problems, so ignore failures on this run.
-- 
GitLab