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

9 lines
234 B
YAML

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