ansible/test/integration/targets/nxos_feature/tests/common/invalid.yaml
Nathaniel Case a197125954
Nxos restore provider to nxapi tests (#41818)
* Quick and dirty sed to add provider

* Manually verify the rest of the cases

* Add missing provider
2018-07-02 09:43:51 -04:00

15 lines
344 B
YAML

---
- debug: msg="START connection={{ ansible_connection }}/invalid.yaml"
- name: configure invalid feature name
nxos_feature:
feature: invalid
provider: "{{ connection }}"
register: result
ignore_errors: yes
- assert:
that:
- result.failed == true
- debug: msg="END connection={{ ansible_connection }}/invalid.yaml"