Skip to content
Snippets Groups Projects
Commit 0b0792c4 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Fix ansible-lint literal-compare violations

parent d55903fb
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment