mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Save output of integration test results to files we can archive
This commit is contained in:
parent
6963955cb4
commit
3a57d9472c
1 changed files with 11 additions and 1 deletions
|
@ -28,4 +28,14 @@
|
|||
delay: 30
|
||||
ignore_errors: true
|
||||
|
||||
- debug: var=test_results
|
||||
- name: save stdout test results for each host
|
||||
local_action: copy
|
||||
args:
|
||||
dest: "{{sync_dir}}/{{inventory_hostname}}.stdout_results.txt"
|
||||
content: "{{test_results.stdout}}"
|
||||
|
||||
- name: save stderr test results for each host
|
||||
local_action: copy
|
||||
args:
|
||||
dest: "{{sync_dir}}/{{inventory_hostname}}.stderr_results.txt"
|
||||
content: "{{test_results.stderr}}"
|
||||
|
|
Loading…
Reference in a new issue