diff --git a/roles/gitlab/templates/docker-compose.yml b/roles/gitlab/templates/docker-compose.yml index 022649b..62c02eb 100644 --- a/roles/gitlab/templates/docker-compose.yml +++ b/roles/gitlab/templates/docker-compose.yml @@ -38,7 +38,7 @@ services: # CSP config gitlab_rails['content_security_policy'] = { - enabled: {{ gitlab_csp.enabled | default(true) }}, + enabled: {{ gitlab_csp.enabled | default(true) | bool | lower }}, report_only: false, directives: { default_src: "'self' {{ gitlab_csp.default_src | default("") }}",