ansible/test/integration/targets/nxos_command/tests/cli/output.yaml

27 lines
479 B
YAML
Raw Normal View History

---
- debug: msg="START cli/output.yaml"
- name: get output for single command
nxos_command:
commands: ['show version']
provider: "{{ cli }}"
register: result
- assert:
that:
- "result.changed == false"
- name: get output for multiple commands
nxos_command:
commands:
- show version
- show interface
provider: "{{ cli }}"
register: result
- assert:
that:
- "result.changed == false"
- debug: msg="END cli/output.yaml"