mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Addresses #4635 add list instead of join
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user