riemers / ansible-gitlab-runner

Ansible role to install gitlab-runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set custom_build_dir_enabled as variable

dosas opened this issue · comments

I am trying to enable the custom build dir for gitlab-runner: https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscustom_build_dir-section

I have found the check for custom_build_dir_enabled but this variable is not present in defaults/main.yml

How can I set this variable?

Just because the variable is not in the main.yml doesn't mean you cannot use it. The defaults/main.yml is an example after all, and sometimes people create a new option but not always add this in the main.yml of the defaults.