|
@@ -122,11 +122,11 @@ bigdata.redis.push.aws IN A 10.67.3.135 |
|
@@ -122,11 +122,11 @@ bigdata.redis.push.aws IN A 10.67.3.135 |
122
|
bigdata.redis.push IN A 10.67.3.135
|
122
|
bigdata.redis.push IN A 10.67.3.135
|
123
|
redis.nginx IN A 10.66.4.80
|
123
|
redis.nginx IN A 10.66.4.80
|
124
|
redis.global IN A 10.66.4.161
|
124
|
redis.global IN A 10.66.4.161
|
125
|
-redis.java IN A 10.66.4.161
|
|
|
126
|
-redis.gateway IN A 10.66.4.200
|
125
|
+redis.java IN A {{ redis.java }}
|
|
|
126
|
+redis.gateway IN A {{ redis.gateway }}
|
127
|
redis.bigdata IN A 10.66.4.156
|
127
|
redis.bigdata IN A 10.66.4.156
|
128
|
redis.web IN A 10.66.105.49
|
128
|
redis.web IN A 10.66.105.49
|
129
|
-search.redis IN A 10.66.4.249
|
129
|
+search.redis IN A {{ redis.search }}
|
130
|
redis.push IN A 10.66.5.182
|
130
|
redis.push IN A 10.66.5.182
|
131
|
bigdata.rtrec.redis IN A 10.67.1.139
|
131
|
bigdata.rtrec.redis IN A 10.67.1.139
|
132
|
web.redis IN A 10.66.1.192
|
132
|
web.redis IN A 10.66.1.192
|
|
@@ -136,12 +136,12 @@ union.redis IN A 10.66.4.127 |
|
@@ -136,12 +136,12 @@ union.redis IN A 10.66.4.127 |
136
|
|
136
|
|
137
|
|
137
|
|
138
|
;hosts
|
138
|
;hosts
|
139
|
-gateway IN A 10.66.0.4
|
|
|
140
|
-zk01 IN A 10.66.4.3
|
|
|
141
|
-zk02 IN A 10.66.4.4
|
|
|
142
|
-zk03 IN A 10.66.4.5
|
|
|
143
|
-zk04 IN A 10.66.4.8
|
|
|
144
|
-zk05 IN A 10.66.4.9
|
139
|
+gateway IN A {{ groups['java-gateway'][0] }}
|
|
|
140
|
+zk01 IN A {{ groups['zookeeper'][0] }}
|
|
|
141
|
+zk02 IN A {% if groups['zookeeper'] | length > 1 %} {{ groups['zookeeper'][1] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
142
|
+zk03 IN A {% if groups['zookeeper'] | length > 2 %} {{ groups['zookeeper'][2] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
143
|
+zk04 IN A {% if groups['zookeeper'] | length > 3 %} {{ groups['zookeeper'][3] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
|
|
144
|
+zk05 IN A {% if groups['zookeeper'] | length > 4 %} {{ groups['zookeeper'][4] }} {% else %} {{ groups['zookeeper'][0] }}{% endif %}
|
145
|
|
145
|
|
146
|
;java rabbitmq
|
146
|
;java rabbitmq
|
147
|
rabbit.order.dc1 IN A 10.66.4.234
|
147
|
rabbit.order.dc1 IN A 10.66.4.234
|