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/exos_command/tests/common/prompt.yaml

18 lines
447 B
YAML

---
- debug: msg="START common/prompt.yaml on connection={{ ansible_connection }}"
- name: run command that requires answering a prompt
exos_command:
commands:
- command: 'clear license-info'
prompt: 'Are you sure.*'
answer: 'Yes'
register: result
- assert:
that:
- "result.changed == false"
- "result.stdout is defined"
- debug: msg="END common/prompt.yaml on connection={{ ansible_connection }}"