Clear flag indicating role had run before each play is run

Fixes #11514
This commit is contained in:
James Cammarata 2015-07-07 21:46:44 -04:00
commit 2e5dfd57cc
3 changed files with 11 additions and 2 deletions

View file

@ -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)