2019-10-05 21:41:47 +00:00
|
|
|
---
|
|
|
|
- name: minecraft daemon-reload
|
|
|
|
systemd:
|
|
|
|
name: "{{ minecraft_service_name }}"
|
|
|
|
daemon_reload: yes
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart minecraft
|
|
|
|
service:
|
|
|
|
name: "{{ minecraft_service_name }}"
|
|
|
|
state: restarted
|
2019-12-31 01:53:35 +00:00
|
|
|
|
|
|
|
- name: restart rsyslog
|
|
|
|
service:
|
|
|
|
name: rsyslog
|
|
|
|
state: restarted
|
2020-01-23 02:16:31 +00:00
|
|
|
|
|
|
|
- name: restart minecraft instances
|
|
|
|
service:
|
|
|
|
name: "minecraft@{{ item.name }}.service"
|
|
|
|
state: restarted
|
|
|
|
loop: "{{ minecraft_worlds | default([]) }}"
|