Merge "Allow custom mongodb configurations"
This commit is contained in:
commit
606a7e0b42
@ -27,8 +27,12 @@
|
|||||||
- Restart mongodb container
|
- Restart mongodb container
|
||||||
|
|
||||||
- name: Copying over mongodb.conf
|
- name: Copying over mongodb.conf
|
||||||
template:
|
merge_configs:
|
||||||
src: "{{ item.key }}.conf.j2"
|
sources:
|
||||||
|
- "{{ role_path }}/templates/{{ item.key }}.conf.j2"
|
||||||
|
- "{{ node_custom_config }}/mongodb.conf"
|
||||||
|
- "{{ node_custom_config }}/mongodb/{{ item.key }}.conf"
|
||||||
|
- "{{ node_custom_config }}/mongodb/{{ inventory_hostname }}/{{ item.key }}.conf"
|
||||||
dest: "{{ node_config_directory }}/mongodb/{{ item.key }}.conf"
|
dest: "{{ node_config_directory }}/mongodb/{{ item.key }}.conf"
|
||||||
mode: "0660"
|
mode: "0660"
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user