2f46f8f944
* Support for network_cli plugin and tests * Fixed ansible-test * issues * Fixed Pylint warning * Fixed the sanity test errors * Fix YAMLlinter issue - removed blank spaces * Fixed Python 3 failures * Fixed the PEP8 issue * Fix sanity --test validate-modules * Reverted the changes to the doc fragments
20 lines
436 B
YAML
Executable file
20 lines
436 B
YAML
Executable file
---
|
|
- debug: msg="START cli/contains.yaml"
|
|
|
|
- name: test contains operator
|
|
dellos10_command:
|
|
commands:
|
|
- show version
|
|
- show interface ethernet 1/1/1
|
|
wait_for:
|
|
- "result[0] contains OS10-Premium"
|
|
- "result[1] contains Ethernet "
|
|
provider: "{{ cli }}"
|
|
register: result
|
|
|
|
- assert:
|
|
that:
|
|
- "result.changed == false"
|
|
- "result.stdout is defined"
|
|
|
|
- debug: msg="END cli/contains.yaml"
|