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

17 lines
402 B
YAML
Raw Normal View History

---
- debug: msg="START common/multiple.yaml on connection={{ ansible_connection }}"
- name: run multiple commands on remote nodes
exos_command:
commands:
- show version
- show ports no-refresh
register: result
- assert:
that:
- "result.changed == false"
- "result.stdout is defined"
- debug: msg="END common/multiple.yaml on connection={{ ansible_connection }}"