mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Clear flag indicating role had run before each play is run
Fixes #11514
This commit is contained in:
parent
48827a31bc
commit
2e5dfd57cc
3 changed files with 11 additions and 2 deletions
|
@ -195,7 +195,7 @@ class StrategyBase:
|
|||
# with the correct object and mark it as executed
|
||||
for (entry, role_obj) in ROLE_CACHE[task_result._task._role._role_name].iteritems():
|
||||
hashed_entry = hash_params(task_result._task._role._role_params)
|
||||
if entry == hashed_entry :
|
||||
if entry == hashed_entry:
|
||||
role_obj._had_task_run = True
|
||||
|
||||
ret_results.append(task_result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue