Commit 5adcd705 by James Cammarata

Allow setup to run when using --start-at-task

Fixes #12147
parent 4be1187f
......@@ -130,6 +130,8 @@ class PlayIterator:
break
else:
self.get_next_task_for_host(host)
# finally, reset the host's state to ITERATING_SETUP
self._host_states[host.name].run_state = self.ITERATING_SETUP
# Extend the play handlers list to include the handlers defined in roles
self._play.handlers.extend(play.compile_roles_handlers())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment