ansible/test/integration/targets/junos_smoke/tests/cli/reboot.yaml
Nathaniel Case e19b94f43b
Add test for reboot & wait_for_connection on EOS & IOS (#63014)
* Add test for reboot & wait_for_connection

* Add test for ios

* Collection-proof block test

* Add junos test

* Don't try to evaluate cli context unless using the connection

* Prevent infinite recursion
2020-01-07 14:24:26 -05:00

14 lines
208 B
YAML

---
- cli_command:
command: request system reboot
prompt:
- Reboot the system?
answer:
- y
- wait_for_connection:
delay: 20
sleep: 10
- cli_command:
command: show version