ansible/test/integration/targets/nxos_devicealias/tasks/main.yaml
Suhas Bharadwaj 0a04a5efc2 adding the modules to /nxos/storage/ folder (#64269)
* adding the modules to /nxos/storage/ folder

* fix pep8 stuff

* fixed provider specific information from doc

* Fix integration tests

* Added tested against note

* Review comments

* added assertions for the commands sent in the integration tests
2019-12-16 14:44:33 +05:30

16 lines
No EOL
334 B
YAML

#---
# Check platform type and skip if not MDS
---
- name: Check platform type and skip if not MDS
nxos_command:
commands: show version | grep MDS
register: result
- set_fact: skip_test=False
- set_fact: skip_test=True
when: result.stdout[0] is not search('MDS')
- include: cli.yaml
tags: 'cli'
when: not skip_test