ansible/test/integration/targets/exos_command/tests/common/waitfor.yaml
Ruturaj Vyawahare f872c61712 Added integration tests for the following modules: (#55523)
- exos_facts
- exos_command
- exos_config
2019-08-28 10:48:32 -04:00

15 lines
432 B
YAML

---
- debug: msg="START common/waitfor.yaml on connection={{ ansible_connection }}"
- name: run show version and check to see if output contains ExtremeXOS
exos_command:
commands: show version
wait_for: result[0] contains ExtremeXOS
register: result
- assert:
that:
- "result.changed == false"
- "result.stdout is defined"
- debug: msg="END common/waitfor.yaml on connection={{ ansible_connection }}"