Add handlers to Minecraft
This commit is contained in:
parent
7db2c2bbab
commit
2fed89bc4c
8
roles/minecraft/handlers/main.yml
Normal file
8
roles/minecraft/handlers/main.yml
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- name: "restart minecraft {{ mcname }}"
|
||||
systemd:
|
||||
name: "minecraft@{{ mcname }}"
|
||||
state: restarted
|
||||
become: yes
|
Loading…
Reference in New Issue
Block a user