Showing
1 changed file
with
7 additions
and
0 deletions
@@ -3,6 +3,13 @@ | @@ -3,6 +3,13 @@ | ||
3 | 3 | ||
4 | - hosts: localhost | 4 | - hosts: localhost |
5 | tasks: | 5 | tasks: |
6 | + - name: 检查java nginx 健康状态 | ||
7 | + health_check: | ||
8 | + name: status check | ||
9 | + url: "http://{{ item }}/status_check" | ||
10 | + with_items: | ||
11 | + - "{{ groups['java-nginx'] }}" | ||
12 | + | ||
6 | - name: 检查java gateway 健康状态 | 13 | - name: 检查java gateway 健康状态 |
7 | health_check: | 14 | health_check: |
8 | name: 获取首页资源位 | 15 | name: 获取首页资源位 |
-
Please register or login to post a comment