mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
BUGFIX - --start-at-task= works only with --step
From issue #2820, --start-at-task does not actually run tasks unless --step is specified. This appears to be because skip_task is being evaluated as True in PlayBook._run_task(). This patch ensures skip_task is set to False in the callback.
This commit is contained in:
parent
29d1b08db4
commit
2440861b1b
1 changed files with 1 additions and 0 deletions
|
@ -554,6 +554,7 @@ class PlaybookCallbacks(object):
|
||||||
else:
|
else:
|
||||||
self.skip_task = True
|
self.skip_task = True
|
||||||
else:
|
else:
|
||||||
|
self.skip_task = False
|
||||||
display(banner(msg))
|
display(banner(msg))
|
||||||
|
|
||||||
call_callback_module('playbook_on_task_start', name, is_conditional)
|
call_callback_module('playbook_on_task_start', name, is_conditional)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue