csantanapr commented on a change in pull request #2969: Switch to use the 
remote mode to install the binaries
URL: 
https://github.com/apache/incubator-openwhisk/pull/2969#discussion_r151473042
 
 

 ##########
 File path: ansible/roles/cli/tasks/copy_local_openwhisk_cli.yml
 ##########
 @@ -5,6 +5,20 @@
 - local_action: stat path={{ openwhisk_cli.local.location }}/{{ item }}
   register: binary_path
 
+- name: "ensure Nginx cli directory is writable"
+  file:
+    path: "{{ cli.nginxdir }}"
+    state: directory
+    mode: 0777
+  become: true
+
 - name: "copy the local binaries from a local directory to Nginx directory"
   copy: src={{ openwhisk_cli.local.location }}/{{ item }} dest={{ cli.nginxdir 
}}/
   when: binary_path.stat.exists
+
+- name: "modify the mode of Nginx cli directory"
 
 Review comment:
   remove this since you are already setting permission to `0777` before on the 
same 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

Reply via email to