markusthoemmes closed pull request #3353: Fix the TLS issue with the CLI
download
URL: https://github.com/apache/incubator-openwhisk/pull/3353
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/ansible/roles/cli/tasks/deploy.yml
b/ansible/roles/cli/tasks/deploy.yml
index 8591263681..76df94a654 100644
--- a/ansible/roles/cli/tasks/deploy.yml
+++ b/ansible/roles/cli/tasks/deploy.yml
@@ -26,10 +26,13 @@
# straightforward.
#
- name: "Download release archive to build directory ..."
- get_url:
- url: "{{ openwhisk_cli.remote.location }}/{{
openwhisk_cli.archive_name}}-{{ openwhisk_cli_tag }}-all.tgz"
- dest: "{{ openwhisk_build_dir }}/{{ openwhisk_cli.archive_name }}.tgz"
- headers: "{{ openwhisk_cli.remote.headers | default('') }}"
+ local_action: >
+ shell curl -L "{{ openwhisk_cli.remote.location }}/{{
openwhisk_cli.archive_name}}-{{ openwhisk_cli_tag }}-all.tgz" \
+ -o "{{ openwhisk_build_dir }}/{{ openwhisk_cli.archive_name }}.tgz"
+# get_url:
+# url: "{{ openwhisk_cli.remote.location }}/{{
openwhisk_cli.archive_name}}-{{ openwhisk_cli_tag }}-all.tgz"
+# dest: "{{ openwhisk_build_dir }}/{{ openwhisk_cli.archive_name }}.tgz"
+# headers: "{{ openwhisk_cli.remote.headers | default('') }}"
when: openwhisk_cli.installation_mode == "remote"
- name: "... or Copy release archive to build directory"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services