1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix incorrect use of copy on list

This commit is contained in:
Hagai 2014-03-03 14:47:57 +02:00 committed by James Cammarata
parent 14b4cb60d6
commit b06f3e5dd6

View file

@ -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)