This is an automated email from the ASF dual-hosted git repository. markusthoemmes 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 05136fb Make redis optional on deployment of the invoker. (#2868) 05136fb is described below commit 05136fbecbeb9ce83a3dc1534203a627b9d386cf Author: Christian Bickel <git...@cbickel.de> AuthorDate: Wed Oct 18 14:31:14 2017 +0200 Make redis optional on deployment of the invoker. (#2868) --- ansible/roles/invoker/tasks/deploy.yml | 2 +- ansible/templates/whisk.properties.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/invoker/tasks/deploy.yml b/ansible/roles/invoker/tasks/deploy.yml index bb2dfae..0258ff4 100644 --- a/ansible/roles/invoker/tasks/deploy.yml +++ b/ansible/roles/invoker/tasks/deploy.yml @@ -119,7 +119,7 @@ -e PORT='8080' -e KAFKA_HOST='{{ groups['kafka']|first }}' -e KAFKA_HOST_PORT='{{ kafka.port }}' - -e REDIS_HOST='{{ groups['redis'] | first }}' + -e REDIS_HOST='{{ groups['redis'] | default([""]) | first }}' -e REDIS_HOST_PORT='{{ redis.port }}' -e DB_PROTOCOL='{{ db_protocol }}' -e DB_PROVIDER='{{ db_provider }}' diff --git a/ansible/templates/whisk.properties.j2 b/ansible/templates/whisk.properties.j2 index 0b4aba0..e23e624 100644 --- a/ansible/templates/whisk.properties.j2 +++ b/ansible/templates/whisk.properties.j2 @@ -43,7 +43,7 @@ limits.actions.sequence.maxLength={{ limits.sequenceMaxLength }} edge.host={{ groups["edge"]|first }} kafka.host={{ groups["kafka"]|first }} -redis.host={{ groups["redis"]|first }} +redis.host={{ groups["redis"]|default([""])|first }} router.host={{ groups["edge"]|first }} zookeeper.host={{ groups["kafka"]|first }} invoker.hosts={{ groups["invokers"] | map('extract', hostvars, 'ansible_host') | list | join(",") }} -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].