Skip to content
Snippets Groups Projects
Commit 10f7b412 authored by Remy Mudingay's avatar Remy Mudingay :speech_balloon:
Browse files

Delete .gitlab-ci.yml.1

parent 1594f06c
No related branches found
No related tags found
No related merge requests found
Pipeline #
---
image: "samdoran/gitlab-ci-test-el6"
before_script:
- ansible --version
- printf '[defaults]\nroles_path=../' > ansible.cfg
test:
script:
# Basic role syntax check
- ansible-playbook tests/gitlab-ci-test.yml -i tests/inventory --syntax-check
# Run the first time
- ansible-playbook tests/gitlab-ci-test.yml -i tests/inventory -c local -b
# Run again and expect no changes
- >
ansible-playbook tests/gitlab-ci-test.yml -i tests/inventory -c local -b
| grep -q 'changed=0.*failed=0'
&& (echo 'Idempotence test: pass' && exit 0)
|| (echo 'Idempotence test: fail' && exit 1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment