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:
parent
5a226d5190
commit
f20833bc5f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user