mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Support item label in v2_playbook_on_include (#42478)
* Support item label in v2_playbook_on_include. Fixes #42301 * test fixes
This commit is contained in:
parent
9bd7bd5d46
commit
50905b980d
3 changed files with 8 additions and 2 deletions
|
@ -76,6 +76,6 @@ fi
|
|||
|
||||
# Test that duplicate items in loop are not deduped
|
||||
ANSIBLE_STRATEGY='linear' ansible-playbook tasks/test_include_dupe_loop.yml -i ../../inventory "$@" | tee test_include_dupe_loop.out
|
||||
test "$(grep -c 'item=foo' test_include_dupe_loop.out)" = 3
|
||||
test "$(grep -c '"item=foo"' test_include_dupe_loop.out)" = 3
|
||||
ANSIBLE_STRATEGY='free' ansible-playbook tasks/test_include_dupe_loop.yml -i ../../inventory "$@" | tee test_include_dupe_loop.out
|
||||
test "$(grep -c 'item=foo' test_include_dupe_loop.out)" = 3
|
||||
test "$(grep -c '"item=foo"' test_include_dupe_loop.out)" = 3
|
Loading…
Add table
Add a link
Reference in a new issue