Debian Codegraph @

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

raw symbols SCIP
1 ---
2 - name: Test SONiC command with prompt handling
3 sonic_command:
4 commands:
5 - command: 'image remove all'
6 prompt: '\[y/N\]:$'
7 answer: 'N'
8 register: result
9
10 - name: Assertion
11 ansible.builtin.assert:
12 that:
13 - "result.changed == false"
14 - "result.stdout is defined"