ansible-role-minecraft/handlers/main.yml
2020-12-28 12:27:18 -06:00

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