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/exos_command/tests/common/waitfor.yaml

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