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
6 years ago
Commit
40d5a46341c7e559bf8cb8823395c504538f1feb
1 parent
3ec1076a
addd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
playbooks/java.health_check.yml
playbooks/java.health_check.yml
View file @
40d5a46
---
# nginx
-
hosts
:
java-nginx
tasks
:
-
yum
:
name
:
epel-release
state
:
present
-
yum
:
name
:
python-pip
state
:
present
-
pip
:
name
:
requests
-
name
:
检查java nginx 健康情况
health_check
:
name
:
获取首页资源位
url
:
'
http://127.0.0.1/status_check'
register
:
result
-
debug
:
var
:
result
remote_user
:
root
# gateway
-
hosts
:
java-gateway
...
...
Please
register
or
login
to post a comment