From ee5f59fd7c74635825ed5f65068e70f0bcb7d7f3 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sun, 7 Feb 2021 13:26:36 +0100 Subject: [PATCH] Update deploy job --- gitlab-ci/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitlab-ci/deploy.yml b/gitlab-ci/deploy.yml index 2214eee..ba0ba46 100644 --- a/gitlab-ci/deploy.yml +++ b/gitlab-ci/deploy.yml @@ -10,14 +10,13 @@ deploy: - pip install ansible --quiet - git clone https://git.fudiggity.nl/ansible/newsreader.git deployment --branch master - cd deployment - - ansible-galaxy install -r roles/requirements.yml + - ansible-galaxy install -r requirements.yml - mkdir /root/.ssh && echo "$DEPLOY_HOST_KEY" > /root/.ssh/known_hosts - echo "$DEPLOY_KEY" > deploy_key && chmod 0600 deploy_key - echo "$VAULT_PASSWORD" > vault script: - > ansible-playbook playbook.yml - --inventory inventory.yml --private-key deploy_key --vault-password-file vault --extra-vars "app_branch=$CI_COMMIT_TAG"