Rather than trying to enumerate tasks or track an ever changing cur_role flag in PlayIterator, this change simply sets a flag on the last block in the list of blocks returned by Role.compile(). The PlayIterator then checks for that flag when the cur_block number is incremented, and marks the role as complete if the given host had any tasks run in that role. Fixes #20224 |
||
---|---|---|
.. | ||
process | ||
__init__.py | ||
action_write_locks.py | ||
module_common.py | ||
play_iterator.py | ||
playbook_executor.py | ||
stats.py | ||
task_executor.py | ||
task_queue_manager.py | ||
task_result.py |