ansible/roles/minecraft/handlers/main.yml

9 lines
188 B
YAML
Raw Normal View History

2020-06-24 10:40:51 -05:00
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: "restart minecraft {{ minecraft_name }}"
2020-06-24 10:40:51 -05:00
systemd:
name: "minecraft@{{ minecraft_name }}"
2020-06-24 10:40:51 -05:00
state: restarted
become: yes