You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/ios_smoke/tests/cli/reboot.yaml

20 lines
324 B
YAML

---
- block:
- cli_command:
command: reload
prompt:
- "yes/no"
- "confirm"
answer:
- "no"
- "y"
check_all: yes
- wait_for_connection:
delay: 20
sleep: 10
- cli_command:
command: show version
when: ansible_connection.endswith("network_cli")