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"