1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #6150 from hkariti/fix_join_bug

Fix incorrect use of .join on list causing a traceback
This commit is contained in:
James Cammarata 2014-02-26 12:50:07 -06:00
commit b758ed9417

View file

@ -278,7 +278,7 @@ class Play(object):
if type(passed_vars['when']) is str:
tmpcond.append(passed_vars['when'])
elif type(passed_vars['when']) is list:
tmpcond.join(passed_vars['when'])
tmpcond += passed_vars['when']
if type(dep_vars['when']) is str:
tmpcond.append(dep_vars['when'])