ansible/roles/minecraft/handlers/main.yml

9 lines
188 B
YAML

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: "restart minecraft {{ minecraft_name }}"
systemd:
name: "minecraft@{{ minecraft_name }}"
state: restarted
become: yes