1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix order integration test.

Previously the test always passed due to invoking cleanup on failure.
This commit is contained in:
Matt Clay 2019-04-25 22:25:24 -07:00
parent 05fcb8502f
commit 03b2986227

View file

@ -19,6 +19,6 @@ for EXTRA in '{"inputlist": ["hostB", "hostA", "hostD", "hostC"]}' \
'{"myorder": "shuffle", "inputlist": ["hostC", "hostD", "hostA", "hostB"]}'
do
cleanup
ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@" || cleanup
ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@"
done
cleanup