Authored by chunhua.zhang

添加aws 的inventory

# inventory file for az1
# auto generated at 2018-12-17 09:07:20
# inventory file for az2
# auto generated at 2018-12-24 18:46:09
[nameservers]
172.31.9.217
... ... @@ -8,127 +8,111 @@
172.31.9.217
[java-nginx]
172.31.70.6
172.31.70.1
[cobar-server]
10.66.4.20
10.66.4.21
172.31.70.1
[ufo-nginx]
10.66.70.62
10.66.70.137
172.31.70.1
[java-activity]
10.66.70.89
10.66.70.142
172.31.104.17
172.31.104.26
[java-bigdata]
10.66.70.89
10.66.70.142
172.31.104.17
172.31.104.26
[java-brower]
10.66.70.223
10.66.70.42
172.31.104.7
172.31.104.39
[java-erpgateway]
10.66.70.223
10.66.70.42
172.31.104.7
172.31.104.39
[java-gateway]
10.66.70.79
10.66.70.181
10.66.70.15
10.66.70.192
10.66.70.215
172.31.104.2
172.31.104.44
172.31.104.28
[java-message]
10.66.70.47
10.66.70.96
172.31.104.12
172.31.104.48
[java-order]
10.66.70.41
10.66.70.170
10.66.70.95
172.31.104.16
172.31.104.41
[java-product]
10.66.70.47
10.66.70.96
172.31.104.12
172.31.104.48
[java-promotion]
10.66.70.41
10.66.70.170
10.66.70.95
172.31.104.16
172.31.104.41
[java-resources]
10.66.70.9
10.66.70.128
172.31.104.10
172.31.104.43
[java-risk]
10.66.70.89
10.66.70.142
172.31.104.17
172.31.104.26
[java-sns]
10.66.70.47
10.66.70.96
[java-social]
10.66.70.139
10.66.70.12
172.31.104.12
172.31.104.48
[java-uic]
10.66.70.223
10.66.70.42
172.31.104.7
172.31.104.39
[java-union]
10.66.70.49
10.66.70.126
172.31.70.21
172.31.70.56
[java-users]
10.66.70.9
10.66.70.128
172.31.104.10
172.31.104.43
[java-wechat]
10.66.70.223
10.66.70.42
172.31.104.7
172.31.104.39
[platform-cms]
172.31.50.127
[search-service]
10.66.5.4
10.66.5.5
10.66.5.19
10.66.5.216
10.66.5.106
10.66.5.22
10.66.5.138
10.66.5.110
172.31.104.4
172.31.104.9
172.31.104.14
[ufo-fore]
10.66.70.235
10.66.70.77
10.66.70.63
10.66.70.84
172.31.104.18
[ufo-platform]
10.66.70.235
172.31.104.18
... ...
# inventory file for az1
# auto generated at 2018-12-20 10:31:37
# auto generated at 2018-12-24 18:46:09
[nameservers]
10.66.4.18
... ...
# inventory file for az2
# auto generated at 2018-12-19 10:03:52
# auto generated at 2018-12-24 18:46:09
[nameservers]
10.66.105.5
... ...
... ... @@ -26,7 +26,7 @@ call("git clone --recursive git@git.yoho.cn:yohoops/auto_deploy.git %s" % PATH
# get iptables info from git files.
azs_mappings = {"qcloud": "az1", "qcloudaz2": "az2"}
azs_mappings = {"qcloud": "az1", "qcloudaz2": "az2", "aws": "aws"}
host_group = {"yoho_gateway": "java-gateway",
"yoho_users": "java-users",
"yohobuy_resources": "java-resources",
... ...
# inventory file for az2
# auto generated at {{time_now}}
[nameservers]
172.31.9.217
[nameserver-master]
172.31.9.217
[java-nginx]
172.31.70.1
[cobar-server]
172.31.70.1
[ufo-nginx]
172.31.70.1
{% extends "java-services.j2" %}
... ...