Add a hopefully functional implementation

Time to test
This commit is contained in:
2021-01-10 19:50:20 -06:00
parent c3ca975e85
commit 0715707452
5 changed files with 67 additions and 8 deletions

9
handlers/main.yml Normal file
View File

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