summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/lookup/ini.py
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-08-10 09:07:37 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-08-10 09:07:37 -0700
commitd35b9569006be8b6fb2090b24969b678166386e2 (patch)
tree3ef2ca83a046e83b356f69c04333412153c97272 /lib/ansible/plugins/lookup/ini.py
parente32d88760906da5ed473570218b5831292e0bfa8 (diff)
downloadansible-d35b9569006be8b6fb2090b24969b678166386e2.tar.gz
listify lookup plugin terms when they're specified as "{{ lookup(terms) }}"
Before this, they were not listified there but they were listified when specified like this: with_lookup: terms
Diffstat (limited to 'lib/ansible/plugins/lookup/ini.py')
-rw-r--r--lib/ansible/plugins/lookup/ini.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ansible/plugins/lookup/ini.py b/lib/ansible/plugins/lookup/ini.py
index 0c04f06909..7ea8f92aaf 100644
--- a/lib/ansible/plugins/lookup/ini.py
+++ b/lib/ansible/plugins/lookup/ini.py
@@ -53,9 +53,6 @@ class LookupModule(LookupBase):
def run(self, terms, variables=None, **kwargs):
- if isinstance(terms, basestring):
- terms = [ terms ]
-
basedir = self.get_basedir(variables)
self.basedir = basedir
self.cp = ConfigParser.ConfigParser()