blob: 5d6ba8e907d72db8a1471d0b15ffe77c6090a5a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
- debug: msg="START nxapi/bad_operator.yaml"
- name: test bad operator
nxos_command:
commands:
- show version
- show interface mgmt0
wait_for:
- "result[1].TABLE_interface.ROW_interface.state foo up"
provider: "{{ nxapi }}"
register: result
ignore_errors: yes
- assert:
that:
- "result.failed == true"
- "result.msg is defined"
- debug: msg="END nxapi/bad_operator.yaml"
|