gitlab: Add option to disable SELinux related tasks
This will allow this role to also work in environments where SELinux is not enabled :/
This commit is contained in:
parent
09402ed943
commit
5ce51a9dba
2 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,9 @@ gitlab_ssh_port: 22
|
|||
gitlab_memory_limit: "4096mb"
|
||||
gitlab_memoryswap_limit: "4352mb"
|
||||
|
||||
# Enable or disable selinux handling
|
||||
gitlab_selinux_enabled: true
|
||||
|
||||
# Email/SMTP settings
|
||||
gitlab_smtp_address: smtp.example.com
|
||||
gitlab_smtp_port: 465
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
- "{{ gitlab_telegraf_location }}"
|
||||
tags:
|
||||
- gitlab
|
||||
when:
|
||||
- gitlab_selinux_enabled
|
||||
become: true
|
||||
|
||||
- name: Create install directory
|
||||
|
|
Loading…
Add table
Reference in a new issue