minecraft/server/tasks/geyser.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 26 Jul 2021 16:08:03 -0500
changeset 175 5b2a3d2cce22
parent 162 a7a64ed07204
permissions -rw-r--r--
Changing www root content does not require an nginx reload.

---

- name: create minecraft geyser plugin dir
  become: yes
  file:
    path: "{{minecraft_dir}}/geyser"
    owner: "{{minecraft_user}}"
    group: "{{minecraft_user}}"
    mode: "0755"
    state: "directory"

- name: download geyser
  become: yes
  get_url:
    url: "{{minecraft_geyser_url}}"
    dest: "{{minecraft_dir}}/plugins/geyser.jar"
    mode: "0755"
  notify: restart minecraft