houshengbo commented on a change in pull request #2339: change dir to untar cli
in ansible
URL:
https://github.com/apache/incubator-openwhisk/pull/2339#discussion_r120792250
##########
File path: ansible/roles/cli/tasks/download_openwhisk_cli.yml
##########
@@ -55,13 +55,14 @@
headers: "{{ headers }}"
mode: 0755
-- name: "unarchive cli ({{ os }}) {{ arc }}"
+- name: "unarchive cli ({{ os }}) {{ arc }} for not linux"
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 }}"
+- name: "unarchive cli ({{ os }}) {{ arc }} for linux only"
+ shell: "tar -zxvf {{ dest_name }}"
+ chdir: "{{ cli.nginxdir }}/{{ os }}/{{ arc }}"
Review comment:
@csantanapr @dubeejw I have already sumitted another PR and merged. now
waiting for the result.
----------------------------------------------------------------
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