forked from SpecialMatthew/ansible-playbook-redis-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts
13 lines (12 loc) · 891 Bytes
/
hosts
1
2
3
4
5
6
7
8
9
10
11
12
13
#============================redis-cluster模块==========================#
[redis-cluster]
cdh1.dmudb.dameng.com ansible_ssh_host=192.168.114.241 ansible_user=root ansible_ssh_pass=dameng777
cdh2.dmudb.dameng.com ansible_ssh_host=192.168.114.242 ansible_user=root ansible_ssh_pass=dameng777
cdh3.dmudb.dameng.com ansible_ssh_host=192.168.114.243 ansible_user=root ansible_ssh_pass=dameng777
cdh4.dmudb.dameng.com ansible_ssh_host=192.168.114.244 ansible_user=root ansible_ssh_pass=dameng777
cdh5.dmudb.dameng.com ansible_ssh_host=192.168.114.245 ansible_user=root ansible_ssh_pass=dameng777
cdh6.dmudb.dameng.com ansible_ssh_host=192.168.114.246 ansible_user=root ansible_ssh_pass=dameng777
[redis-sentinel]
cdh4.dmudb.dameng.com redis_matster_host=192.168.114.241
cdh5.dmudb.dameng.com redis_matster_host=192.168.114.242
cdh6.dmudb.dameng.com redis_matster_host=192.168.114.243