diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index 5ea31b526c..e9f00e4702 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -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)