diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 118ee59..e08c8f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,22 +41,25 @@ stages: stage: check_versions script: - /bin/hostname + - chmod 755 ${ANSIBLE_PLAY_PATH} - "cd ${ANSIBLE_PLAY_PATH} && git log -1" - - "ansible --version" - - "ansible-lint --version" + - ansible --version + - ansible-lint --version .lint_playbook_template: &lint_playbook_template <<: *tags_template stage: lint_playbook script: - - "ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml" + - chmod 755 ${ANSIBLE_PLAY_PATH} + - ansible-lint -v ${ANSIBLE_PLAY_PATH}/*.yml .test_deploy_template: &test_deploy_template <<: *tags_template stage: test_deploy script: + - chmod 755 ${ANSIBLE_PLAY_PATH} - pwd - ls -ltr - ansible-galaxy install -r roles/requirements.yml