diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a033978..1452185 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,8 +95,8 @@ deploy: before_script: - apt-get update && apt-get install -y ansible git - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.fudiggity.nl/sonny/ansible-playbooks.git deployment - - echo $DEPLOY_HOST > deployment/hosts.yml - - echo $DEPLOY_KEY > deployment/deploy_key + - echo "$DEPLOY_HOST" > deployment/hosts.yml + - echo "$DEPLOY_KEY" > deployment/deploy_key script: - ansible-playbook deployment/playbook.yml --inventory deployment/hosts.yml --limit newsreader --user ansible --private-key deployment/deploy_key when: manual