Allow with_items to specify a variable

This commit is contained in:
Daniel Hokka Zakrisson 2012-06-09 21:59:22 +02:00
parent 933b5e8631
commit a05da2d312
3 changed files with 11 additions and 3 deletions

View file

@ -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'])