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

csantanapr 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 0737826  allow open ansible to install catalog dynamically (#3025)
0737826 is described below

commit 0737826c06c73a904c49977910d103d1eed79174
Author: David Cariello <[email protected]>
AuthorDate: Wed Nov 29 14:57:32 2017 -0600

    allow open ansible to install catalog dynamically (#3025)
---
 ansible/tasks/installOpenwhiskCatalog.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ansible/tasks/installOpenwhiskCatalog.yml 
b/ansible/tasks/installOpenwhiskCatalog.yml
index 72fed21..699fd7c 100644
--- a/ansible/tasks/installOpenwhiskCatalog.yml
+++ b/ansible/tasks/installOpenwhiskCatalog.yml
@@ -16,6 +16,9 @@
     repo_update={{ item.value.repo_update }}
   when: item.value.repo_update is defined
 
+- set_fact:
+    skip_catalog_install="{{ item.value.skip | default(false) }}"
+
 - name: "ensure catalog_location directory exists"
   file:
     path: "{{ catalog_location }}"
@@ -32,3 +35,4 @@
   shell: ./installCatalog.sh {{ catalog_auth_key }} {{ api_host }} {{ cli.path 
}} chdir="{{ catalog_location }}/packages"
   environment:
     OPENWHISK_HOME: "{{ openwhisk_home }}"
+  when: skip_catalog_install == false

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to