mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #6248 from hkariti/fix_list_copy
Fix incorrect use of copy() on list, causing a traceback
This commit is contained in:
commit
435104065e
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class Play(object):
|
|||
if "tags" in included_dep_vars:
|
||||
included_dep_vars["tags"] = list(set(included_dep_vars["tags"] + passed_vars["tags"]))
|
||||
else:
|
||||
included_dep_vars["tags"] = passed_vars["tags"].copy()
|
||||
included_dep_vars["tags"] = passed_vars["tags"][:]
|
||||
|
||||
dep_vars = utils.combine_vars(passed_vars, dep_vars)
|
||||
dep_vars = utils.combine_vars(role_vars, dep_vars)
|
||||
|
|
Loading…
Reference in a new issue