Authored by root

Merge branch 'master' of git.yoho.cn:ops/yoho-ansible-roles

# Last updated at 2018/12/18 17:54 by tiexin.yang@yoho.cn
# Restart multipal java services
# How to Run:
# ansible-playbook -i inventories/$REGION/hosts playbooks/java.restart-service.v2.yml -e '{"restart_services":[$JAVA_SERVICE01,$JAVA_SERVICE02...]}'
# Demo:
# ansible-playbook -i inventories/aws/hosts playbooks/java.restart-service.v2.yml -e '{"restart_services":['yoho-message','yoho-sns']}'
# Accepet JAVA_SERVICES:
# - yoho-users
# - yohoufo-fore
# - yoho-social
# - yoho-sns
# - yoho-message
# - yoho-gateway
# - yohobuy-wechat
# - yohobuy-union
# - yohobuy-risk
# - yohobuy-resources
# - yohobuy-promotion
# - yohobuy-product
# - yohobuy-order
# - yohobuy-brower
# - yohobuy-bigdata
# - yohobuy-activity
# - uic
# - ufo-platform
# - platform-cms
# - erpgateway
# yoho services
- hosts: java-gateway
serial: "50%"
... ...