mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix incorrect use of .join on list
This commit is contained in:
parent
b6222abee6
commit
ae9c0d87a9
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue