ansible/test/integration/targets/exos_command/tests/common/waitfor.yaml

16 lines
432 B
YAML
Raw Normal View History

---
- 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 }}"