Make handlers obey run_once (or BYPASS_HOST_LOOP)

Fixes #12972
This commit is contained in:
James Cammarata 2015-10-30 09:44:35 -04:00
parent 21b76dee6f
commit 56e5e72aaa
2 changed files with 12 additions and 1 deletions

View file

@ -176,7 +176,6 @@ class StrategyModule(StrategyBase):
run_once = False
work_to_do = True
# test to see if the task across all hosts points to an action plugin which
# sets BYPASS_HOST_LOOP to true, or if it has run_once enabled. If so, we
# will only send this task to the first host in the list.