---
- debug: msg="START {{ connection.transport }}/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.transport }}/invalid.yaml"
