author | Luke Hoersten <luke@hoersten.org> |
Sun, 23 Jul 2023 14:28:28 -0500 | |
changeset 220 | 16226c249f6f |
parent 162 | a7a64ed07204 |
permissions | -rw-r--r-- |
125 | 1 |
--- |
2 |
||
162
a7a64ed07204
Added Geyser minecraft plugin. Cleaned up minecraft role.
Luke Hoersten <luke@hoersten.org>
parents:
156
diff
changeset
|
3 |
- name: create minecraft dynmap plugin dir |
125 | 4 |
become: yes |
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}}/dynmap" |
125 | 7 |
owner: "{{minecraft_user}}" |
8 |
group: "{{minecraft_user}}" |
|
9 |
mode: "0755" |
|
10 |
state: "directory" |
|
11 |
||
12 |
- name: download dynmap |
|
13 |
become: yes |
|
14 |
get_url: |
|
15 |
url: "{{minecraft_dynmap_url}}" |
|
16 |
dest: "{{minecraft_dir}}/plugins/dynmap.jar" |
|
17 |
mode: "0755" |
|
18 |
notify: restart minecraft |
|
19 |
||
20 |
- name: configure dynmap |
|
21 |
become: yes |
|
22 |
template: |
|
23 |
src: "configuration.txt.j2" |
|
24 |
dest: "{{minecraft_dir}}/plugins/dynmap/configuration.txt" |