mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Test behaviour of loop keyword plus lookup plugins
We introduced the new loop keyword as a replacement for with without adding tests that it behaved as we expected. This test asserts that behaviour. Incidentally, it also shows how to use parameters with lookups and loops now.
This commit is contained in:
parent
715b930fc8
commit
e8cfe05e37
4 changed files with 137 additions and 0 deletions
7
test/integration/targets/loops/vars/main.yml
Normal file
7
test/integration/targets/loops/vars/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
phrases:
|
||||
- 'Hello World'
|
||||
- 'Olá Mundo'
|
||||
filenames:
|
||||
- 'data1.txt'
|
||||
- 'data2.txt'
|
Loading…
Add table
Add a link
Reference in a new issue