Skip to content
Snippets Groups Projects
Commit d7c4a4f2 authored by ZijianGuo's avatar ZijianGuo
Browse files

Replace merge_configs with merge_yaml for merge mongodb.conf


Actually, 'mongodb.conf' is a yaml format configuration file. Do not use
merge_configs to merge it.

Change-Id: Id3c006df00c1e2d66472c2195781e01c640cab22
Signed-off-by: default avatarZijianGuo <guozijn@gmail.com>
parent bc7dea58
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
- Restart mongodb container - Restart mongodb container
- name: Copying over mongodb.conf - name: Copying over mongodb.conf
merge_configs: merge_yaml:
sources: sources:
- "{{ role_path }}/templates/{{ item.key }}.conf.j2" - "{{ role_path }}/templates/{{ item.key }}.conf.j2"
- "{{ node_custom_config }}/mongodb.conf" - "{{ node_custom_config }}/mongodb.conf"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment