jiangpengcheng commented on a change in pull request #4963:
URL: https://github.com/apache/openwhisk/pull/4963#discussion_r641143641
##########
File path: ansible/roles/controller/tasks/deploy.yml
##########
@@ -292,6 +292,19 @@
env: "{{ env | combine(elastic_env) }}"
when: db.activation_store.backend == "ElasticSearch"
+- name: setup mongodb artifact store env
+ set_fact:
+ mongodb_env:
+ "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"
+ when: db.artifact_store.backend == "MongoDB"
+
+- name: merge mongodb artifact store env
+ set_fact:
+ env: "{{ env | combine(mongodb_env) }}"
+ when: db.artifact_store.backend == "MongoDB"
Review comment:
nope, this is for `artifact`, which means all kind of entities
--
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]