From d03145a2cd8d0b6f89c9ed51f2148056c07927ad Mon Sep 17 00:00:00 2001 From: kaiyou <dev@kaiyou.fr> Date: Mon, 4 Dec 2023 23:14:46 +0100 Subject: [PATCH] Improve the way we fix ansible permissions --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ab927a..3a17705 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: -- GitLab