You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/nxos_feature/tests/common/invalid.yaml

18 lines
439 B
YAML

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