mongodb: Fix mongo client cmd for mongo 6.0
This commit is contained in:
parent
eba736f107
commit
8df5271acc
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /root/.bashrc
|
path: /root/.bashrc
|
||||||
line: >
|
line: >
|
||||||
alias mongo='mongo
|
alias mongosh='mongosh
|
||||||
--tlsCertificateKeyFile {{ tls_private }}/mongodb.pem
|
--tlsCertificateKeyFile {{ tls_private }}/mongodb.pem
|
||||||
--tlsCAFile {{ tls_certs }}/ca.crt
|
--tlsCAFile {{ tls_certs }}/ca.crt
|
||||||
--tls mongodb://{{ inventory_hostname }}/'
|
--tls mongodb://{{ inventory_hostname }}/'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue