From f20833bc5fc915824d274473a52801e9f20e2bf0 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Tue, 5 Nov 2019 14:44:20 -0500 Subject: [PATCH] 0.1.0-DEV-20191105-144413 ------------------------- * FIX: - [WARNING] Ansible is being run in a world writable directory * REMOVE: - removed some quotes that weren't actually needed --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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