jiangpengcheng commented on a change in pull request #4963:
URL: https://github.com/apache/openwhisk/pull/4963#discussion_r614497069
##########
File path: ansible/group_vars/all
##########
@@ -322,6 +327,12 @@ elasticsearch_connect_string: "{% set ret = [] %}\
{{ ret.append( hostvars[host].ansible_host +
':' + ((db.elasticsearch.port+loop.index-1)|string) ) }}\
{% endfor %}\
{{ ret | join(',') }}"
+mongodb:
+ version: 4.4.0
+ commonEnv:
+ CONFIG_whisk_mongodb_uri: "{{ db.mongodb.connect_string }}"
+ CONFIG_whisk_mongodb_database: "{{ db.mongodb.database }}"
+ CONFIG_whisk_spi_ArtifactStoreProvider:
"org.apache.openwhisk.core.database.mongodb.MongoDBArtifactStoreProvider"
Review comment:
I think we can follow elasticsearch activation store style?
https://github.com/apache/openwhisk/blob/68120f2170dc9f9b53361ab0cb51c4e9458dbe29/ansible/roles/invoker/tasks/deploy.yml#L294-L308
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]