Commit 3e715334 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

fix(ci): chmod ansible dir before syntax-check

Docker executor build dir is world-writable, causing Ansible to ignore
ansible.cfg and fail to find roles_path. Tighten permissions first.
parent b7c0ebdf
Loading
Loading
Loading
Loading
Loading
+1 −0
Changes for .gitlab-ci.yml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ syntax-check:
  extends: .ansible_setup
  script:
    - cd ansible
    - chmod 700 .
    - ansible-playbook -i inventory/hosts.yml --syntax-check playbooks/scenarios/full_oop/deploy-kubernetes.yml
    - ansible-playbook -i inventory/hosts.yml --syntax-check playbooks/scenarios/dual_oop/deploy-kubernetes.yml
    - ansible-playbook -i inventory/hosts.yml --syntax-check playbooks/scenarios/full_oop_existing_cluster/deploy.yml