csantanapr closed pull request #3025: allow open ansible to install catalog 
dynamically
URL: https://github.com/apache/incubator-openwhisk/pull/3025
 
 
   

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/tasks/installOpenwhiskCatalog.yml 
b/ansible/tasks/installOpenwhiskCatalog.yml
index 72fed21f32..699fd7c189 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


 

----------------------------------------------------------------
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