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:
parent
9ad26eab28
commit
9fb6da6215
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue