ansible-role-springboot-web.../handlers/main.yml

8 lines
191 B
YAML

---
- name: systemd reload
command: systemctl daemon-reload
- name: Restart the springboot webservice
service: name={{ item.name }} state=restarted
with_items: '{{ springboot_apps }}'