diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 481ce01..58597c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ image: geerlingguy/docker-debian9-ansible:latest before_script: - - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' + - which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh