...
|
...
|
@@ -7,6 +7,12 @@ |
|
|
# Demo:
|
|
|
# ansible-playbook -i inventories/aws/hosts playbooks/java.restart-service.v2.yml -e '{"restart_services":['yoho-message','yoho-sns']}'
|
|
|
|
|
|
# stop
|
|
|
# ansible-playbook -i inventories/t6/hosts playbooks/java.restart-service.v2.yml -e '{"restart_services":['yoho-message', 'yohobuy-product', 'yoho-sns'], "start": "no"}'
|
|
|
# ansible-playbook -i inventories/t6/hosts playbooks/java.restart-service.v2.yml -e '{"restart_services":['yohobuy-order', 'yohobuy-promotion'], "start": "no"}'
|
|
|
# ansible-playbook -i inventories/t6/hosts playbooks/java.restart-service.v2.yml -e '{"restart_services":['yoho-users', 'yohobuy-resources'], "start": "no"}'
|
|
|
|
|
|
|
|
|
# Accepet JAVA_SERVICES:
|
|
|
# - yoho-users
|
|
|
# - yohoufo-fore
|
...
|
...
|
|