Stop Minecraft before knocking its feet out from under it
This commit is contained in:
parent
3517e71f60
commit
bcf8fe1081
@ -49,6 +49,10 @@
|
|||||||
register: get_mcpack
|
register: get_mcpack
|
||||||
- name: Install modpack
|
- name: Install modpack
|
||||||
block:
|
block:
|
||||||
|
- name: Disable service
|
||||||
|
systemd:
|
||||||
|
name: "minecraft@{{ mcname }}"
|
||||||
|
state: stopped
|
||||||
- name: Remove remnants of old pack
|
- name: Remove remnants of old pack
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user