Add ARA to the collected log directories

ARA is being set up by quickstart.sh and the static report is
later generated by collect-logs.sh in the workspace.
The collect-logs role should seek that location and recover it if
it's available.

Change-Id: I611a071bb839f3c402a6c1bc2db35951f75461e0
This commit is contained in:
David Moreau-Simard 2017-01-05 17:26:36 -05:00
parent 1529ce0ab9
commit 2ecb17602b
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
curl {{ lookup('env', 'BUILD_URL') }}/consoleText | gzip > {{ artcl_collect_dir }}/console.txt.gz
when: lookup('env', 'BUILD_URL') != ""
- name: Retrieve the ARA static playbook report
command: cp -a {{ local_working_dir }}/ara {{ artcl_collect_dir }}/ara
ignore_errors: "yes"
- name: upload to the artifact server using pubkey auth
command: rsync -av --quiet -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" {{ artcl_collect_dir }}/ {{ artcl_rsync_path }}/{{ lookup('env', 'BUILD_TAG') }}
async: "{{ artcl_publish_timeout }}"