From 0e9c3a402b5d8d8810eaa5b93759e181ff53f332 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 10 Dec 2019 20:42:43 -0600 Subject: [PATCH] Update minecraft server to 1.15 --- roles/minecraft/defaults/main.yaml | 3 ++- roles/minecraft/tasks/main.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/minecraft/defaults/main.yaml b/roles/minecraft/defaults/main.yaml index 4276adf..8210f1e 100644 --- a/roles/minecraft/defaults/main.yaml +++ b/roles/minecraft/defaults/main.yaml @@ -11,7 +11,8 @@ minecraft_port: 25565 minecraft_user: minecraft minecraft_group: minecraft -minecraft_jar_url: https://launcher.mojang.com/v1/objects/3dc3d84a581f14691199cf6831b71ed1296a9fdf/server.jar +minecraft_jar_url: https://launcher.mojang.com/v1/objects/e9f105b3c5c7e85c7b445249a93362a22f62442d/server.jar +minecraft_jar_checksum: sha256:e0fe1749263b5ec211b358b598b46e787645bffa8411414f0c812a92bdc70c84 minecraft_opt_path: /opt/minecraft minecraft_var_path: "{{ minecraft_opt_path }}/var" diff --git a/roles/minecraft/tasks/main.yaml b/roles/minecraft/tasks/main.yaml index 11ad110..544a4f6 100644 --- a/roles/minecraft/tasks/main.yaml +++ b/roles/minecraft/tasks/main.yaml @@ -52,6 +52,8 @@ owner: "{{ minecraft_user }}" group: "{{ minecraft_group }}" mode: "0644" + checksum: "{{ minecraft_jar_checksum }}" + notify: restart minecraft - name: agree to the eula copy: