add replicaSet argument to mondodb URI
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c6a39c05da
commit
78f3626fee
|
@ -8,4 +8,4 @@
|
|||
post_tasks:
|
||||
- name: MongoDB URI string
|
||||
debug:
|
||||
msg: 'mongodb://{{ mongodb_users[0].name }}:{{ mongodb_users[0].password }}@{{ dns_entry }}:{{ mongodb_net_port }}/{{ mongodb_users[0].database }}'
|
||||
msg: 'mongodb://{{ mongodb_users[0].name }}:{{ mongodb_users[0].password }}@{{ dns_entry }}:{{ mongodb_net_port }}/{{ mongodb_users[0].database }}?replicaSet={{ mongodb_replication_replset }}'
|
||||
|
|
Loading…
Reference in New Issue