ansible-role-terraria/handlers/main.yml
2021-01-10 19:50:20 -06:00

10 lines
209 B
YAML

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: "restart terraria {{ terraria_name }}"
systemd:
name: "terraria@{{ terraria_name }}"
state: restarted
become: yes
when: terraria_enabled