ansible-roles/gcube/authorization_service/handlers/main.yml

12 lines
463 B
YAML

---
- name: Restart the authorization service
service: name='tomcat-instance-{{ authorization_service_http_port }}' state=restarted
when: authorization_service_install
- name: Stop the authorization service
service: name='tomcat-instance-{{ authorization_service_http_port }}' state=stopped
- name: Start the authorization service
service: name='tomcat-instance-{{ authorization_service_http_port }}' state=started
when: authorization_service_install