mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
display.error on no matching --start-at-task (#45221)
This commit is contained in:
parent
864f266216
commit
869d866aa1
1 changed files with 7 additions and 0 deletions
|
@ -225,6 +225,13 @@ class PlaybookExecutor:
|
||||||
display.display("No issues encountered")
|
display.display("No issues encountered")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
if self._options.start_at_task and not self._tqm._start_at_done:
|
||||||
|
display.error(
|
||||||
|
"No matching task \"%s\" found. "
|
||||||
|
"Note: --start-at-task can only follow static includes."
|
||||||
|
% self._options.start_at_task
|
||||||
|
)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def _get_serialized_batches(self, play):
|
def _get_serialized_batches(self, play):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue