mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix concatenation for with_file
This commit is contained in:
parent
caa0b02962
commit
b14c658532
1 changed files with 1 additions and 1 deletions
|
@ -1023,7 +1023,7 @@ def listify_lookup_plugin_terms(terms, basedir, inject):
|
|||
# not sure why the "/" is in above code :)
|
||||
try:
|
||||
new_terms = template.template(basedir, "{{ %s }}" % terms, inject)
|
||||
if isinstance(new_terms, basestring) and "{{" in new_terms.find:
|
||||
if isinstance(new_terms, basestring) and new_terms.find("{{") != -1:
|
||||
pass
|
||||
else:
|
||||
terms = new_terms
|
||||
|
|
Loading…
Reference in a new issue