diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-08-10 09:07:37 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-08-10 09:07:37 -0700 |
commit | d35b9569006be8b6fb2090b24969b678166386e2 (patch) | |
tree | 3ef2ca83a046e83b356f69c04333412153c97272 /lib/ansible/plugins/lookup/ini.py | |
parent | e32d88760906da5ed473570218b5831292e0bfa8 (diff) | |
download | ansible-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.py | 3 |
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() |