mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07: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
|
delay: 30
|
||||||
ignore_errors: true
|
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…
Add table
Add a link
Reference in a new issue