Authored by chunhua.zhang

addd

---
# 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
... ...