ansible/test/integration/targets/nxos_telemetry/tasks/main.yaml
Mike Wiebe 9610f2b8ac NX-OS Telemetry Resource Module (#59126)
* Combined telemetry module commit

* Minor fixes

* Add back whitespace

* Add telemetry subscription support and simplify

* Remove comment line

* Make ansibot happy

* Create common build_args method

* More ansibot fixes

* Refactored integration tests, remove old files

* Add subscription tests

* Add integration tests

* Update module docs

* Test updates

* Address review comments

* Comment should be one line, not two

* Address Trishna comments

* State deleted should purge all config

* Remove misleading comment

* Doc fixes

* Fix source int bug and remove local debug msg

* Add additional integration test checks
2019-08-05 11:35:46 +05:30

18 lines
477 B
YAML

---
- set_fact: run_test="true"
# Telemetry module only supported on N9k
- set_fact: run_test="false"
when: platform is not search("N9K")
# Telemetry module not supported on versions earlier then 7.0(3)I7(x)
- set_fact: run_test="false"
when: imagetag is search("I2|I3|I4|I5|I6")
- include: cli.yaml
tags: 'cli'
when: run_test
# Uncomment below when nxapi is supported for resource module builder modules
# - include: nxapi.yaml
# tags: 'nxapi'
# when: run_test