Stop server before recovery
This commit is contained in:
parent
9886ae046a
commit
7f1653d881
@ -133,6 +133,10 @@
|
||||
register: stat_mcroot_world
|
||||
- name: Recover world, if available
|
||||
block:
|
||||
- name: Stop server
|
||||
systemd:
|
||||
name: "minecraft@{{ mcname }}"
|
||||
state: stopped
|
||||
- name: Run recover script
|
||||
command:
|
||||
chdir: "/var/minecraft/{{ mcname }}"
|
||||
|
Loading…
Reference in New Issue
Block a user