java.restart.yml 1.32 KB
---

#gateway
- hosts: java-gateway
  vars:
    deploy_path: yoho-gateway
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

#product
- hosts: java-product
  vars:
    deploy_path: yohobuy-product
    context: product
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

#message
- hosts: java-message
  vars:
    deploy_path: yoho-message
    context: message
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

# sns
- hosts: java-sns
  vars:
    deploy_path: yoho-sns
    context: sns
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

#order
- hosts: java-order
  vars:
    deploy_path: yohobuy-order
    context: order
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

#promotion
- hosts: java-promotion
  vars:
    deploy_path: yohobuy-promotion
    context: promotion
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

#users
- hosts: java-users
  vars:
    deploy_path: yoho-users
    context: users
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart

# resources
- hosts: java-resources
  vars:
    deploy_path: yohobuy-resources
    context: resources
  remote_user: root
  sudo: yes
  sudo_user: master
  roles:
    - java.restart