ansible/roles/minecraft/handlers/main.yml

9 lines
172 B
YAML
Raw Normal View History

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