Redownload forge on updates
This isn't the best solution, but it works
This commit is contained in:
parent
847a83b209
commit
5a032fe26e
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user