Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
roverflow committed Jul 18, 2024
1 parent 77489d5 commit 2faad04
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions plugins/modules/cli_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
- <password>
- 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 = """
Expand Down Expand Up @@ -192,4 +195,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 2faad04

Please sign in to comment.