mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07: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:
|
if type(dep_vars['when']) is str:
|
||||||
tmpcond.append(dep_vars['when'])
|
tmpcond.append(dep_vars['when'])
|
||||||
elif type(dep_vars['when']) is list:
|
elif type(dep_vars['when']) is list:
|
||||||
tmpcond.join(dep_vars['when'])
|
tmpcond += dep_vars['when']
|
||||||
|
|
||||||
if len(tmpcond) > 0:
|
if len(tmpcond) > 0:
|
||||||
dep_vars['when'] = tmpcond
|
dep_vars['when'] = tmpcond
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue