From 2faad04c152067d4cdc781402fa12f99a910d58e Mon Sep 17 00:00:00 2001 From: roverflow Date: Thu, 18 Jul 2024 13:44:30 +0530 Subject: [PATCH] fixed docs --- plugins/modules/cli_command.py | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/plugins/modules/cli_command.py b/plugins/modules/cli_command.py index 889d6be3f..bb87240e7 100644 --- a/plugins/modules/cli_command.py +++ b/plugins/modules/cli_command.py @@ -108,17 +108,20 @@ - Password - Do you want to change that to the standby image answer: - -- name: Simple regexp match for multiple prompt, multiple answer(mandatory check for all prompts) - ansible.netcommon.cli_command: - command: reload in 5 - check_all: true - prompt: - - Save\\? - - confirm - answer: - - n - - y + - y + - + - y + + - name: Simple regexp match for multiple prompt, multiple answer(mandatory check for all prompts) + ansible.netcommon.cli_command: + command: reload in 5 + check_all: true + prompt: + - Save\\? + - confirm + answer: + - n + - y """ RETURN = """ @@ -192,4 +195,4 @@ def main(): if __name__ == "__main__": - main() + main() \ No newline at end of file