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/nxos_devicealias/tasks/main.yaml

16 lines
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