ansible/roles/minecraft/handlers/main.yml

9 lines
188 B
YAML
Raw Normal View History

2020-11-20 04:09:09 -06:00
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: "restart minecraft {{ minecraft_name }}"
systemd:
name: "minecraft@{{ minecraft_name }}"
state: restarted
become: yes