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