equal
deleted
inserted
replaced
2 |
2 |
3 - name: add minecraft user |
3 - name: add minecraft user |
4 become: yes |
4 become: yes |
5 user: name="{{minecraft_user}}" home="{{minecraft_parent_dir}}/minecraft" shell="/bin/false" system="yes" |
5 user: name="{{minecraft_user}}" home="{{minecraft_parent_dir}}/minecraft" shell="/bin/false" system="yes" |
6 |
6 |
7 - name: install adoptium java |
7 - name: install java |
8 become: yes |
8 become: yes |
9 unarchive: |
9 apt: name="openjdk-17-jre-headless" |
10 remote_src: yes |
|
11 src: "{{minecraft_java_url}}" |
|
12 dest: "/opt/" |
|
13 creates: "/opt/jdk-{{minecraft_java_version}}+{{minecraft_java_build}}/" |
|
14 owner: "root" |
|
15 group: "root" |
|
16 notify: restart minecraft |
|
17 |
10 |
18 - name: create minecraft dir |
11 - name: create minecraft dir |
19 become: yes |
12 become: yes |
20 file: |
13 file: |
21 path: "{{minecraft_dir}}" |
14 path: "{{minecraft_dir}}" |