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