1
0
Fork 0
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:
James Cammarata 2015-12-20 17:55:39 -05:00
parent 6963955cb4
commit 3a57d9472c

View file

@ -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}}"