1
---
2
3
- name: restart minecraft
4
become: yes
5
systemd: name="minecraft.service" state="restarted" daemon_reload="yes"