From 5c1d850fbb45562b502851661470fddbc2fc6aaa Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 10 Aug 2015 13:51:56 -0400 Subject: [PATCH] now fixed to actually work --- lib/ansible/template/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py index 1d6f1a3cbc..1b89f0ee2a 100644 --- a/lib/ansible/template/__init__.py +++ b/lib/ansible/template/__init__.py @@ -251,7 +251,7 @@ class Templar: instance = self._lookup_loader.get(name.lower(), loader=self._loader, templar=self) if instance is not None: - loop_terms = listify_lookup_plugin_terms(terms=*args, templar=self, loader=self._loader, fail_on_undefined=True) + loop_terms = listify_lookup_plugin_terms(terms=args, templar=self, loader=self._loader, fail_on_undefined=True) # safely catch run failures per #5059 try: ran = instance.run(*args, variables=self._available_variables, **kwargs)