Debian Codegraph @

ansible_collections/community/mongodb/roles/mongodb_mongos/templates/mongos.conf.j2

raw
1 systemLog:
2 destination: file
3 path: {{ log_path }}
4 logAppend: true
5 logRotate: reopen
6 net:
7 {% if bind_ip_all %}
8 bindIpAll: true
9 {% else %}
10 bindIp: {{ bind_ip }}
11 {% endif %}
12 port: {{ mongos_port }}
13 {% if net_compressors %}
14 compression:
15 compressors: {{ net_compressors }}
16 {% endif %}
17 {% if mongodb_use_tls %}
18 tls:
19 mode: requireTLS
20 certificateKeyFile: {{ mongodb_certificate_key_file }}
21 CAFile: {{ mongodb_certificate_ca_file }}
22 {% if mongodb_disabled_tls_protocols != "" %}
23 disabledProtocols: {{ mongodb_disabled_tls_protocols }}
24 {% endif %}
25 {% if mongodb_allow_connections_without_certificates %}
26 allowConnectionsWithoutCertificates: true
27 {% endif %}
28 {% endif %}
29 sharding:
30 configDB: "{{ config_repl_set_name }}/{{ config_servers }}"
31 processManagement:
32 timeZoneInfo: /usr/share/zoneinfo
33 security:
34 keyFile: {{ openssl_keyfile_path }}