You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2017/06/08 02:00:05 UTC

[incubator-openwhisk] branch master updated: Update the Nginx directory for CLI to unarchive (#2340)

This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new e75d552  Update the Nginx directory for CLI to unarchive (#2340)
e75d552 is described below

commit e75d552a10096105814020918df2c5bbcaca0ea3
Author: Vincent <sh...@us.ibm.com>
AuthorDate: Wed Jun 7 22:00:02 2017 -0400

    Update the Nginx directory for CLI to unarchive (#2340)
---
 ansible/roles/cli/tasks/download_openwhisk_cli.yml | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/ansible/roles/cli/tasks/download_openwhisk_cli.yml b/ansible/roles/cli/tasks/download_openwhisk_cli.yml
index 55eaee3..cb84470 100644
--- a/ansible/roles/cli/tasks/download_openwhisk_cli.yml
+++ b/ansible/roles/cli/tasks/download_openwhisk_cli.yml
@@ -48,7 +48,7 @@
     path: "{{ cli.nginxdir }}/{{ os }}/{{ arc }}"
     state: directory
 
-- name: "download cli ({{ os }}) {{ arc }} to openwhisk cli directory"
+- name: "download cli ({{ os }}) {{ arc }} to Nginx cli directory"
   get_url:
     url: "{{ openwhisk_cli.location }}/{{ source_name }}"
     dest: "{{ cli.nginxdir }}/{{ os }}/{{ arc }}/{{ dest_name }}"
@@ -59,9 +59,3 @@
   unarchive:
     src: "{{ cli.nginxdir }}/{{ os }}/{{ arc }}/{{ dest_name }}"
     dest: "{{ cli.nginxdir }}/{{ os }}/{{ arc }}/"
-    remote_src: True
-  when: os != "linux"
-
-- name: "unarchive cli ({{ os }}) {{ arc }}"
-  local_action: shell "tar" "-zxvf" "{{ dest_name }}" chdir="{{ cli.nginxdir }}/{{ os }}/{{ arc }}"
-  when: os == "linux" 

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].