mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07:00
Fix order integration test.
Previously the test always passed due to invoking cleanup on failure.
This commit is contained in:
parent
05fcb8502f
commit
03b2986227
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ for EXTRA in '{"inputlist": ["hostB", "hostA", "hostD", "hostC"]}' \
|
||||||
'{"myorder": "shuffle", "inputlist": ["hostC", "hostD", "hostA", "hostB"]}'
|
'{"myorder": "shuffle", "inputlist": ["hostC", "hostD", "hostA", "hostB"]}'
|
||||||
do
|
do
|
||||||
cleanup
|
cleanup
|
||||||
ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@" || cleanup
|
ansible-playbook order.yml --forks 1 -i inventory -e "$EXTRA" "$@"
|
||||||
done
|
done
|
||||||
cleanup
|
cleanup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue