ansible-role-apache/mongodb/hosts

30 lines
564 B
Text
Raw Normal View History

2013-04-20 06:44:40 +02:00
#The site wide list of mongodb servers
# the mongo servers need a mongod_port variable set, and they must not conflict.
[mongo_servers]
mongo1 mongod_port=2700
mongo2 mongod_port=2701
mongo3 mongod_port=2702
mongo4 mongod_port=2703
2013-04-20 06:44:40 +02:00
#The list of servers where replication should happen, by default include all servers
[replication_servers]
mongo1
mongo2
mongo3
mongo4
2013-04-20 06:44:40 +02:00
#The list of mongodb configuration servers, make sure it is 1 or 3
[mongoc_servers]
mongo1
mongo2
mongo3
2013-04-20 06:44:40 +02:00
#The list of servers where mongos servers would run.
[mongos_servers]
mongo1
mongo2
2013-04-20 06:44:40 +02:00