minecraft/server/tasks/geyser.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 22 Jul 2023 15:50:36 -0500
changeset 217 e69a030975c4
parent 162 a7a64ed07204
permissions -rw-r--r--
Split out nostr install and build roles.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
125
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
---
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
162
a7a64ed07204 Added Geyser minecraft plugin. Cleaned up minecraft role.
Luke Hoersten <luke@hoersten.org>
parents: 156
diff changeset
     3
- name: create minecraft geyser plugin dir
125
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
  become: yes
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
  file:
162
a7a64ed07204 Added Geyser minecraft plugin. Cleaned up minecraft role.
Luke Hoersten <luke@hoersten.org>
parents: 156
diff changeset
     6
    path: "{{minecraft_dir}}/geyser"
125
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
    owner: "{{minecraft_user}}"
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
    group: "{{minecraft_user}}"
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
    mode: "0755"
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
    state: "directory"
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
162
a7a64ed07204 Added Geyser minecraft plugin. Cleaned up minecraft role.
Luke Hoersten <luke@hoersten.org>
parents: 156
diff changeset
    12
- name: download geyser
125
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
  become: yes
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
  get_url:
162
a7a64ed07204 Added Geyser minecraft plugin. Cleaned up minecraft role.
Luke Hoersten <luke@hoersten.org>
parents: 156
diff changeset
    15
    url: "{{minecraft_geyser_url}}"
a7a64ed07204 Added Geyser minecraft plugin. Cleaned up minecraft role.
Luke Hoersten <luke@hoersten.org>
parents: 156
diff changeset
    16
    dest: "{{minecraft_dir}}/plugins/geyser.jar"
125
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    17
    mode: "0755"
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    18
  notify: restart minecraft