mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix order integration test.
Previously the test always passed due to invoking cleanup on failure.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user