Add handlers to Minecraft

This commit is contained in:
Salt 2020-06-24 10:40:51 -05:00
parent 7db2c2bbab
commit 2fed89bc4c

View File

@ -0,0 +1,8 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: "restart minecraft {{ mcname }}"
systemd:
name: "minecraft@{{ mcname }}"
state: restarted
become: yes