Minor updates to nxos_nxapi tests (#35750)

* Minor updates to nxos_nxapi tests

* Fixed duplicate yaml key issue

* Make rubocop happy
pull/35763/head
Mike Wiebe 7 years ago committed by Trishna Guha
parent 6bd4803c80
commit 358e63232f

@ -0,0 +1,6 @@
---
- name: Assert configuration changes
assert:
that:
- result.stdout[0].http_port is not defined
- result.stdout[0].https_port|string is search("9443")

@ -27,8 +27,11 @@
- include: targets/nxos_nxapi/tasks/platform/n7k/assert_changes.yaml
when: platform is match('N7K')
- include: targets/nxos_nxapi/tasks/platform/n5k/assert_changes.yaml
when: platform is match('N5K')
- include: targets/nxos_nxapi/tasks/platform/default/assert_changes.yaml
when: not ( platform is search('N7K'))
when: not ( platform is search('N7K')) and not (platform is search('N5K')) and not (platform is search('N35'))
- name: Configure NXAPI again
nxos_nxapi:

Loading…
Cancel
Save