minecraft/server/tasks/geyser.yaml
author Luke Hoersten <luke@hoersten.org>
Thu, 20 Jul 2023 10:40:49 -0500
changeset 213 245f2e093398
parent 162 a7a64ed07204
permissions -rw-r--r--
Updated AdGuard schema from v6 to v24
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