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:
parent
4203b699a8
commit
c5c1dc2f11
1 changed files with 0 additions and 2 deletions
|
@ -101,8 +101,6 @@ class Role(Base, Become, Conditional, Taggable):
|
||||||
# We use frozenset to make the dictionary hashable.
|
# We use frozenset to make the dictionary hashable.
|
||||||
|
|
||||||
params = role_include.get_role_params()
|
params = role_include.get_role_params()
|
||||||
params['tags'] = role_include.tags
|
|
||||||
params['when'] = role_include.when
|
|
||||||
hashed_params = hash_params(params)
|
hashed_params = hash_params(params)
|
||||||
if role_include.role in play.ROLE_CACHE:
|
if role_include.role in play.ROLE_CACHE:
|
||||||
for (entry, role_obj) in play.ROLE_CACHE[role_include.role].iteritems():
|
for (entry, role_obj) in play.ROLE_CACHE[role_include.role].iteritems():
|
||||||
|
|
Loading…
Reference in a new issue