also rename plugin name in error message
This commit is contained in:
parent
e3f213e030
commit
b40295910d
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class LookupModule(object):
|
||||||
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
|
terms = utils.listify_lookup_plugin_terms(terms, self.basedir, inject)
|
||||||
|
|
||||||
if not isinstance(terms, list):
|
if not isinstance(terms, list):
|
||||||
raise errors.AnsibleError("with_flat_list expects a list")
|
raise errors.AnsibleError("with_flattened expects a list")
|
||||||
|
|
||||||
ret = self.flatten(terms, inject)
|
ret = self.flatten(terms, inject)
|
||||||
return ret
|
return ret
|
||||||
|
|
Loading…
Reference in a new issue