mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Iosxr: integration test failure on devel (#44057)
This commit is contained in:
@@ -23,6 +23,13 @@
|
||||
- "result.failed == true"
|
||||
- "result.msg is defined"
|
||||
|
||||
- name: Remove existing file if any
|
||||
cli_command:
|
||||
command: 'delete harddisk:ansible_tmp.txt'
|
||||
prompt: 'Delete harddisk\:ansible_tmp\.txt\[confirm\]'
|
||||
answer: "\r\n"
|
||||
ignore_errors: yes
|
||||
|
||||
- block:
|
||||
- name: Run command with prompt
|
||||
cli_command:
|
||||
@@ -34,7 +41,7 @@
|
||||
- assert:
|
||||
that:
|
||||
- "result.stdout is defined"
|
||||
- "'ansible_tmp' in result.stdout[0]"
|
||||
- "'ansible_tmp' in result.stdout"
|
||||
always:
|
||||
- name: Remove copied file
|
||||
cli_command:
|
||||
|
||||
Reference in New Issue
Block a user