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

removed gitlab-ci tests

parent 27bd4e0f
No related branches found
No related tags found
No related merge requests found
Pipeline #
---
image: "eugenmayer/rsync"
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)
---
- hosts: localhost
remote_user: root
roles:
- ics-ans-role-rsync
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