Stop Minecraft before knocking its feet out from under it

This commit is contained in:
Salt 2020-06-24 10:19:23 -05:00
parent 3517e71f60
commit bcf8fe1081

View File

@ -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 }}"