blob: a8ce15431ba658c4b328bff675c0d5c08402adc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
---
- name: create minecraft dynmap plugin dir
become: yes
file:
path: "{{minecraft_dir}}/dynmap"
owner: "{{minecraft_user}}"
group: "{{minecraft_user}}"
mode: "0755"
state: "directory"
- name: download dynmap
become: yes
get_url:
url: "{{minecraft_dynmap_url}}"
dest: "{{minecraft_dir}}/plugins/dynmap.jar"
mode: "0755"
notify: restart minecraft
- name: configure dynmap
become: yes
template:
src: "configuration.txt.j2"
dest: "{{minecraft_dir}}/plugins/dynmap/configuration.txt"
|