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