diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ab927a673b88537ab30481e2ee4ddfe14e519c5..3a17705400bbc71989d3e52f9c4fd582c3f973ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ compile: .before_script_template: &ansible-job image: docker.tedomum.net/acides/ansible-ci:main before_script: + - chmod 750 ansible - echo "$VAULT_PASSWORD" > /tmp/vault - eval $(ssh-agent -s) - ssh-add <(echo "$SSH_KEY"|base64 -d) @@ -41,7 +42,6 @@ upload: <<: *ansible-job script: - cd ansible/ - - echo 'Ansible refuses to read from a world-writeable folder, hence' && chmod -v 700 $(pwd) - ansible $ANSIBLE_ARGS -m include_tasks -a file=playbooks/ciupload.yaml localhost test-cluster: