Add small but useful stanza for paper servers to minecraft role

This commit is contained in:
Salt 2020-11-20 04:05:59 -06:00
parent 2f1560c08c
commit ec448ce739

View File

@ -30,6 +30,15 @@
notify: "restart minecraft {{ minecraft_name }}" notify: "restart minecraft {{ minecraft_name }}"
become: yes become: yes
become_user: minecraft become_user: minecraft
- name: set up paper
block:
- name: download paper
get_url: url={{ minecraft_paper_downloadurl }} dest={{ minecraft_home }}/{{ minecraft_name }}/server.jar
notify: "restart minecraft {{ minecraft_name }}"
# TODO: Manage configs for plugins, auto-install plugins
become: yes
become_user: minecraft
when: minecraft_fabric_install
- name: set up forge - name: set up forge
block: block:
- name: template out modpack installer - name: template out modpack installer