fixed another line with same issues

Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
This commit is contained in:
Brian Coca 2014-03-06 08:43:24 -05:00
parent d3d5680d8f
commit 79809b67dc

View file

@ -236,7 +236,7 @@ class Play(object):
new_tags = var_obj.get('tags', []) new_tags = var_obj.get('tags', [])
if isinstance(new_tags, basestring): if isinstance(new_tags, basestring):
new_tags = [new_tags, ] 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(role_vars)
passed_vars['tags'] = __merge_tags(dep_vars) passed_vars['tags'] = __merge_tags(dep_vars)