Skip to content
Snippets Groups Projects
Unverified Commit adc3f79c authored by Aivars Sterns's avatar Aivars Sterns Committed by GitHub
Browse files

Merge pull request #2458 from jouve/collect_info

use archive instead of command
parents 7904b454 6abe78ff
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,12 @@
with_items: "{{logs}}"
- name: Pack results and logs
local_action: raw GZIP=-9 tar --remove-files -cvzf {{dir|default(".")}}/logs.tar.gz -C /tmp collect-info
archive:
path: "/tmp/collect-info"
dest: "{{ dir|default('.') }}/logs.tar.gz"
remove: true
delegate_to: localhost
become: false
run_once: true
- name: Clean up collected command outputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment