mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix bug caused by options not having start_at_task when used through adhoc
Fixes #12590
This commit is contained in:
parent
a0920c06e1
commit
deff045aa9
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class TaskQueueManager:
|
|||
# during initialization, the PlayContext will clear the start_at_task
|
||||
# field to signal that a matching task was found, so check that here
|
||||
# and remember it so we don't try to skip tasks on future plays
|
||||
if self._options.start_at_task is not None and play_context.start_at_task is None:
|
||||
if getattr(self._options, 'start_at_task', None) is not None and play_context.start_at_task is None:
|
||||
self._start_at_done = True
|
||||
|
||||
# and run the play using the strategy
|
||||
|
|
Loading…
Reference in a new issue