Add -k (insecure) option to curl console logs command

Collecting the console logs from internal jobs is failing due to
certificate issues. Adding the -k option to curl will ignore
any certificate requirements and collect the console log.

Change-Id: Ic90a045c5cc848996dd23be3210347fb95319a13
This commit is contained in:
Ronelle Landy 2017-01-23 15:06:54 -05:00
parent 9ad26eab28
commit 9fb6da6215
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
- name: fetch and gzip the console log
shell: >
curl {{ lookup('env', 'BUILD_URL') }}/consoleText | gzip > {{ artcl_collect_dir }}/console.txt.gz
curl -k {{ lookup('env', 'BUILD_URL') }}/consoleText | gzip > {{ artcl_collect_dir }}/console.txt.gz
when: lookup('env', 'BUILD_URL') != ""
- name: Retrieve the ARA static playbook report