author | Luke Hoersten <luke@hoersten.org> |
Sat, 22 Oct 2022 14:51:35 -0500 | |
changeset 198 | e1f873a07ea2 |
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" |