mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 15:51:05 +00:00
Fix incorrect use of .join on list
This commit is contained in:
@@ -275,7 +275,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'])
|
||||
|
||||
Reference in New Issue
Block a user