Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
chunhua.zhang
2019-01-03 17:21:42 +0800
Commit
57450199f1c07904b487e30853630ff858210d1d
2 parents
31302eff
6e0d7b4b
Merge branch 'tiexin.yang' into 'master'
从gen_inventory.py移除az2 See merge request
!8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
inventories/aws/hosts
scripts/inventory/gen_inventory.py
inventories/aws/hosts
View file @
5745019
# inventory file for az2
# auto generated at 2019-01-0
2 06:39:19
# auto generated at 2019-01-0
3 09:19:55
[nameservers]
172.31.9.217
...
...
@@ -52,7 +52,6 @@
[java-order]
172.31.70.116
172.31.70.124
172.31.70.43
[java-platform-cms]
...
...
@@ -67,7 +66,6 @@
[java-promotion]
172.31.70.116
172.31.70.124
172.31.70.43
[java-resources]
...
...
scripts/inventory/gen_inventory.py
View file @
5745019
...
...
@@ -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"
,
"
aws"
:
"aws"
}
azs_mappings
=
{
"qcloud"
:
"az1"
,
"aws"
:
"aws"
}
host_group
=
{
"yoho_gateway"
:
"java-gateway"
,
"yoho_users"
:
"java-users"
,
"yohobuy_resources"
:
"java-resources"
,
...
...
Please
register
or
login
to post a comment