|
|
[server1]
|
|
|
10.66.200.11
|
|
|
[java-nginx]
|
|
|
10.66.202.5
|
|
|
10.66.202.12
|
|
|
|
|
|
[java-gateway]
|
|
|
10.66.202.15
|
|
|
10.66.202.13
|
|
|
10.66.202.8
|
|
|
|
|
|
|
|
|
[java-brower]
|
|
|
10.66.202.7
|
|
|
10.66.202.32
|
|
|
|
|
|
|
|
|
|
|
|
[java-wechat]
|
|
|
10.66.202.7
|
|
|
10.66.202.32
|
|
|
|
|
|
|
|
|
[java-activity]
|
|
|
10.66.202.14
|
|
|
10.66.202.41
|
|
|
|
|
|
|
|
|
[java-erpgateway]
|
|
|
10.66.202.7
|
|
|
10.66.202.32
|
|
|
|
|
|
|
|
|
[java-union]
|
|
|
10.66.70.21
|
|
|
10.66.70.49
|
|
|
10.66.103.20
|
|
|
|
...
|
...
|
|
|
|
- hosts: server1
|
|
|
- hosts: java-nginx
|
|
|
roles:
|
|
|
- openresty |
...
|
...
|
|