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

japetrsn 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 8d38625  use whisk_api_host_name as part of api host ansible selection 
(#3573)
8d38625 is described below

commit 8d38625ce217c51e35b6eb78a3928c1e09ec0ba6
Author: Mark Deuser <[email protected]>
AuthorDate: Thu Apr 26 14:56:44 2018 -0400

    use whisk_api_host_name as part of api host ansible selection (#3573)
---
 ansible/roles/routemgmt/tasks/deploy.yml  | 2 +-
 ansible/tasks/installOpenwhiskCatalog.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/routemgmt/tasks/deploy.yml 
b/ansible/roles/routemgmt/tasks/deploy.yml
index f1e12a2..5390eb6 100644
--- a/ansible/roles/routemgmt/tasks/deploy.yml
+++ b/ansible/roles/routemgmt/tasks/deploy.yml
@@ -16,6 +16,6 @@
 ---
 # Install the API Gateway route management actions.
 - name: install route management actions
-  shell: ./installRouteMgmt.sh {{ catalog_auth_key }} {{ groups['edge'] | 
first }} {{ catalog_namespace }} {{ cli.path }} chdir="{{ openwhisk_home 
}}/ansible/roles/routemgmt/files"
+  shell: ./installRouteMgmt.sh {{ catalog_auth_key }} {{ whisk_api_host_name | 
default(groups['edge'] | first) }} {{ catalog_namespace }} {{ cli.path }} 
chdir="{{ openwhisk_home }}/ansible/roles/routemgmt/files"
   environment:
     OPENWHISK_HOME: "{{ openwhisk_home }}"
diff --git a/ansible/tasks/installOpenwhiskCatalog.yml 
b/ansible/tasks/installOpenwhiskCatalog.yml
index 0647a70..640f957 100644
--- a/ansible/tasks/installOpenwhiskCatalog.yml
+++ b/ansible/tasks/installOpenwhiskCatalog.yml
@@ -19,7 +19,7 @@
 - set_fact:
     catalog_location={{ item.value.location }}
     catalog_repo_url={{ item.value.url }}
-    api_host={{ groups['edge'] | first }}
+    api_host={{ whisk_api_host_name | default(groups['edge'] | first) }}
     version="HEAD"
     repo_update="yes"
 

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

Reply via email to