forked from ISTI-ansible-roles/ansible-roles
library/roles/mongodb-org-3.2: mongo now binds to localhost by default. Fix the template and the default variables.
This commit is contained in:
parent
0762dcdc23
commit
aab6313083
|
@ -5,8 +5,9 @@ mongodb_install_conf: True
|
||||||
mongodb_upgrade_from_older_version: False
|
mongodb_upgrade_from_older_version: False
|
||||||
# Set to 'latest' if you want to get the latest available package
|
# Set to 'latest' if you want to get the latest available package
|
||||||
mongodb_pkg_state: present
|
mongodb_pkg_state: present
|
||||||
mongodb_start_server: 'no'
|
mongodb_start_server: 'yes'
|
||||||
mongodb_tcp_port: 27017
|
mongodb_tcp_port: 27017
|
||||||
|
mongo_bind_ip: 0.0.0.0
|
||||||
mongodb_http_interface: 'false'
|
mongodb_http_interface: 'false'
|
||||||
mongodb_http_port: 28017
|
mongodb_http_port: 28017
|
||||||
mongodb_user: mongodb
|
mongodb_user: mongodb
|
||||||
|
@ -31,7 +32,6 @@ mongodb_systemlog_logappend: 'true'
|
||||||
mongodb_systemlog_logrotate: reopen
|
mongodb_systemlog_logrotate: reopen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mongodb_cluster_enabled: False
|
mongodb_cluster_enabled: False
|
||||||
mongodb_replicaset: storagedev
|
mongodb_replicaset: storagedev
|
||||||
mongodb_replica_keyfile: '{{ mongodb_dbpath }}/replica_keyfile'
|
mongodb_replica_keyfile: '{{ mongodb_dbpath }}/replica_keyfile'
|
||||||
|
|
|
@ -23,7 +23,7 @@ systemLog:
|
||||||
# network interfaces
|
# network interfaces
|
||||||
net:
|
net:
|
||||||
port: {{ mongodb_tcp_port }}
|
port: {{ mongodb_tcp_port }}
|
||||||
# bindIp: 127.0.0.1
|
bindIp: {{ mongo_bind_ip }}
|
||||||
http:
|
http:
|
||||||
enabled: {{ mongodb_http_interface }}
|
enabled: {{ mongodb_http_interface }}
|
||||||
JSONPEnabled: {{ mongodb_http_interface }}
|
JSONPEnabled: {{ mongodb_http_interface }}
|
||||||
|
|
Loading…
Reference in New Issue