From 99ba773b9116c6a0fe170025382c8cc7fe054361 Mon Sep 17 00:00:00 2001 From: Sonny Date: Sun, 22 Mar 2020 19:03:37 +0100 Subject: [PATCH] Another attempt --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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