Fix condition for gitlab_log_tmpfs feature

In the current way, no volume for gitlab logs would be created by
default. This is undesired.
This commit is contained in:
Sheogorath 2021-01-31 00:40:42 +01:00 committed by Saibotk
parent 7ea009d7a4
commit 0859e99a6d
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -203,7 +203,7 @@ services:
volumes:
- "{{ gitlab_data_location }}:/var/opt/gitlab"
- "{{ gitlab_config_location }}:/etc/gitlab"
{% if gitlab_log_tmpfs %}
{% if not gitlab_log_tmpfs %}
- "{{ gitlab_log_location }}:/var/log/gitlab"
{% endif %}