2017-02-26 08:12:57 -05:00
|
|
|
---
|
2018-01-05 17:01:45 -05:00
|
|
|
- debug: msg="START connection={{ ansible_connection }}/invalid.yaml"
|
2017-02-26 08:12:57 -05:00
|
|
|
|
|
|
|
- name: configure invalid feature name
|
|
|
|
nxos_feature:
|
|
|
|
feature: invalid
|
2018-07-02 09:43:51 -04:00
|
|
|
provider: "{{ connection }}"
|
2017-02-26 08:12:57 -05:00
|
|
|
register: result
|
|
|
|
ignore_errors: yes
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that:
|
|
|
|
- result.failed == true
|
|
|
|
|
2018-01-05 17:01:45 -05:00
|
|
|
- debug: msg="END connection={{ ansible_connection }}/invalid.yaml"
|