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
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
2018-10-31 17:23:25 +0800
Commit
2f6aeaba069ada77746f73c053b4283b7388792f
1 parent
b000d4b1
add
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
inventories/az1/group_vars/all.yml
inventories/az2/group_vars/all.yml
inventories/az3/group_vars/all.yml
playbooks/java.health_check.yml
inventories/az1/group_vars/all.yml
View file @
2f6aeab
...
...
@@ -26,8 +26,6 @@ db_ordersplit_3_read: 10.66.6.118
db_ordersplit_4_write
:
10.66.0.121
db_ordersplit_4_read
:
10.66.6.207
erp_3_read
:
10.67.2.194
# java inner load balancer
java
:
inner_lb
:
10.66.4.112
...
...
inventories/az2/group_vars/all.yml
View file @
2f6aeab
...
...
@@ -26,8 +26,6 @@ db_ordersplit_3_read: 10.66.106.15
db_ordersplit_4_write
:
10.66.0.121
db_ordersplit_4_read
:
10.66.106.16
erp_3_read
:
10.66.50.64
# java inner load balancer
java
:
inner_lb
:
10.66.104.6
...
...
inventories/az3/group_vars/all.yml
View file @
2f6aeab
...
...
@@ -26,8 +26,6 @@ db_ordersplit_3_read: 10.66.106.15
db_ordersplit_4_write
:
10.66.0.121
db_ordersplit_4_read
:
10.66.106.16
erp_3_read
:
10.66.50.64
# java inner load balancer
java
:
inner_lb
:
10.66.202.9
...
...
playbooks/java.health_check.yml
View file @
2f6aeab
...
...
@@ -3,8 +3,11 @@
-
hosts
:
java-nginx
tasks
:
#install requests if needed
-
yum
:
name
:
pip
state
:
present
-
pip
:
name
:
requests
name
:
requests
-
name
:
检查java nginx 健康情况
health_check
:
name
:
获取首页资源位
...
...
Please
register
or
login
to post a comment