From 5b627023e9b626029a5f727433655682c5da4a3d Mon Sep 17 00:00:00 2001 From: saibotk Date: Sat, 2 Jan 2021 16:01:16 +0100 Subject: [PATCH] gitlab_runner: Actually use path variable in config volume mount --- roles/gitlab_runner/templates/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitlab_runner/templates/docker-compose.yml b/roles/gitlab_runner/templates/docker-compose.yml index eaa8924..fb16fea 100644 --- a/roles/gitlab_runner/templates/docker-compose.yml +++ b/roles/gitlab_runner/templates/docker-compose.yml @@ -23,7 +23,7 @@ services: mem_limit: 128mb memswap_limit: 256mb volumes: - - "./config:/etc/gitlab-runner" + - "{{ gitlabrunner_config_location }}:/etc/gitlab-runner" {% if gitlabrunner_mount_docker_socket %} - "/var/run/docker.sock:/var/run/docker.sock" {% endif %}