From 79809b67dc26d4a0858ea7b5fcd81f9cbcd9dc11 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 6 Mar 2014 08:43:24 -0500 Subject: [PATCH] fixed another line with same issues Signed-off-by: Brian Coca --- lib/ansible/playbook/play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index 70283d5c901..aaa79358825 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -236,7 +236,7 @@ class Play(object): new_tags = var_obj.get('tags', []) if isinstance(new_tags, basestring): new_tags = [new_tags, ] - return list(set(old_tags + new_tags)) + return list(set(old_tags).union(set(new_tags))) passed_vars['tags'] = __merge_tags(role_vars) passed_vars['tags'] = __merge_tags(dep_vars)