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
This commit is contained in:
Chris Hammer 2019-11-05 14:44:20 -05:00
parent 5a226d5190
commit f20833bc5f

View File

@ -41,22 +41,25 @@ stages:
stage: check_versions stage: check_versions
script: script:
- /bin/hostname - /bin/hostname
- chmod 755 ${ANSIBLE_PLAY_PATH}
- "cd ${ANSIBLE_PLAY_PATH} && git log -1" - "cd ${ANSIBLE_PLAY_PATH} && git log -1"
- "ansible --version" - ansible --version
- "ansible-lint --version" - ansible-lint --version
.lint_playbook_template: &lint_playbook_template .lint_playbook_template: &lint_playbook_template
<<: *tags_template <<: *tags_template
stage: lint_playbook stage: lint_playbook
script: 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 .test_deploy_template: &test_deploy_template
<<: *tags_template <<: *tags_template
stage: test_deploy stage: test_deploy
script: script:
- chmod 755 ${ANSIBLE_PLAY_PATH}
- pwd - pwd
- ls -ltr - ls -ltr
- ansible-galaxy install -r roles/requirements.yml - ansible-galaxy install -r roles/requirements.yml