ansible/test/integration/targets/nxos_feature/tests/common/invalid.yaml

16 lines
344 B
YAML
Raw Normal View History

---
- 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"