...
|
...
|
@@ -3,6 +3,13 @@ |
|
|
|
|
|
- hosts: localhost
|
|
|
tasks:
|
|
|
- name: 检查java nginx 健康状态
|
|
|
health_check:
|
|
|
name: status check
|
|
|
url: "http://{{ item }}/status_check"
|
|
|
with_items:
|
|
|
- "{{ groups['java-nginx'] }}"
|
|
|
|
|
|
- name: 检查java gateway 健康状态
|
|
|
health_check:
|
|
|
name: 获取首页资源位
|
...
|
...
|
|