Redownload forge on updates

This isn't the best solution, but it works
This commit is contained in:
Salt 2020-06-24 10:51:48 -05:00
parent 847a83b209
commit 5a032fe26e

View File

@ -64,6 +64,7 @@
- "/var/minecraft/{{ mcname }}/coremods"
- "/var/minecraft/{{ mcname }}/mods"
- "/var/minecraft/{{ mcname }}/scripts"
- "/var/minecraft/{{ mcname }}/server.jar"
- name: Unpack zip
unarchive:
src: "/var/minecraft/{{ mcname }}/modpack.zip"
@ -84,7 +85,7 @@
when: get_mcpack is changed
- name: Check for Forge
stat:
path: "/var/minecraft/{{ mcname }}/forge-{{ mcforge }}-universal.jar"
path: "/var/minecraft/{{ mcname }}/server.jar"
register: stat_mcroot_forgejar
- name: Install Forge
block: