Debian Codegraph @

ansible_collections/dellemc/enterprise_sonic/tests/regression/roles/sonic_command/tasks/invalid.yaml

raw symbols SCIP
1 ---
2 - name: Run invalid command
3 register: result
4 ignore_errors: true
5 sonic_command:
6 commands:
7 - show foo
8
9 - name: First assertion
10 ansible.builtin.assert:
11 that:
12 - result.failed == true
13 - result.msg is defined
14
15 - name: Run commands that include invalid command
16 register: result
17 ignore_errors: true
18 sonic_command:
19 commands:
20 - show system
21 - show foo
22
23 - name: Second assertion
24 ansible.builtin.assert:
25 that:
26 - result.failed == true
27 - result.msg is defined