diff --git a/tasks/register-runner.yml b/tasks/register-runner.yml index 5b103b72461940182382c9cb2a3401af7350b96b..c7f8d51d67f0e09e51313cc314b156ccd8a07538 100644 --- a/tasks/register-runner.yml +++ b/tasks/register-runner.yml @@ -13,4 +13,9 @@ --tag-list '{{ gitlab_runner_tags | join(",") }}' --executor '{{ gitlab_runner_executor }}' --docker-image '{{ gitlab_runner_docker_image }}' + --ssh-user '{{gitlab_runner_ssh_user}}' + --ssh-host '{{gitlab_runner_ssh_host}}' + --ssh-port '{{gitlab_runner_ssh_port}}' + --ssh-password '{{gitlab_runner_ssh_password}}' + --ssh-identity-file '{{gitlab_runner_ssh_identity_file}}' when: configured_runners.stderr.find('\n{{ gitlab_runner_description }}') == -1