Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: Test SONiC single command
3 sonic_command:
4 commands: 'show interface status'
5 register: result
6
7 - name: First assertion
8 ansible.builtin.assert:
9 that:
10 - "result.changed == false"
11 - "result.stdout is defined"
12
13 - name: Test SONiC multiple commands
14 sonic_command:
15 commands:
16 - 'show platform'
17 - 'show system'
18 register: result
19
20 - name: Second assertion
21 ansible.builtin.assert:
22 that:
23 - "result.changed == false"
24 - "result.stdout is defined"
25 - "result.stdout | length == 2"