From 62c54dedd85544f411313b1e65764d29916dcb0e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 05:26:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../fragments/terminal_initial_newline.yaml | 2 +- ...sible.netcommon.network_cli_connection.rst | 20 +++++++++++++++++++ plugins/connection/network_cli.py | 9 +++------ 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/changelogs/fragments/terminal_initial_newline.yaml b/changelogs/fragments/terminal_initial_newline.yaml index 2cc78bdad..de6e94017 100644 --- a/changelogs/fragments/terminal_initial_newline.yaml +++ b/changelogs/fragments/terminal_initial_newline.yaml @@ -1,2 +1,2 @@ minor_changes: - - network_cli - add `terminal_initial_newline` parameter as an option for terminal plugins. \ No newline at end of file + - network_cli - add `terminal_initial_newline` parameter as an option for terminal plugins. diff --git a/docs/ansible.netcommon.network_cli_connection.rst b/docs/ansible.netcommon.network_cli_connection.rst index 35250272d..5590c8e21 100644 --- a/docs/ansible.netcommon.network_cli_connection.rst +++ b/docs/ansible.netcommon.network_cli_connection.rst @@ -540,6 +540,26 @@ Parameters
terminal_initial_prompt
is matched. The value can be a single answer or a list of answers for multiple terminal_initial_prompt. In case the login menu has multiple prompts the sequence of the prompt and excepted answer should be in same order and the value of terminal_prompt_checkall should be set to True if all the values in terminal_initial_prompt
are expected to be matched and set to False if any one login prompt is to be matched.