mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Addresses #4635 add list instead of join
This commit is contained in:
parent
2b5005687a
commit
d93780bc8a
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class Play(object):
|
|||
if type(dep_vars['when']) is str:
|
||||
tmpcond.append(dep_vars['when'])
|
||||
elif type(dep_vars['when']) is list:
|
||||
tmpcond.join(dep_vars['when'])
|
||||
tmpcond += dep_vars['when']
|
||||
|
||||
if len(tmpcond) > 0:
|
||||
dep_vars['when'] = tmpcond
|
||||
|
|
Loading…
Reference in a new issue