mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-10 18:29:11 -07:00
Allow with_items to specify a variable
This commit is contained in:
parent
933b5e8631
commit
a05da2d312
3 changed files with 11 additions and 3 deletions
|
@ -17,7 +17,7 @@ class TestUtils(unittest.TestCase):
|
|||
}
|
||||
}
|
||||
|
||||
res = ansible.utils.varLookup('data.who', vars)
|
||||
res = ansible.utils._varLookup('data.who', vars)
|
||||
|
||||
assert sorted(res) == sorted(vars['data']['who'])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue