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

Removing tags/when from role param hash calculation

This commit is contained in:
James Cammarata 2015-07-11 21:49:35 -04:00
parent 4203b699a8
commit c5c1dc2f11

View file

@ -101,8 +101,6 @@ class Role(Base, Become, Conditional, Taggable):
# We use frozenset to make the dictionary hashable.
params = role_include.get_role_params()
params['tags'] = role_include.tags
params['when'] = role_include.when
hashed_params = hash_params(params)
if role_include.role in play.ROLE_CACHE:
for (entry, role_obj) in play.ROLE_CACHE[role_include.role].iteritems():