From abe0bed4b7506b043ded34d7cb6cecb3e07246bc Mon Sep 17 00:00:00 2001 From: binary Date: Sat, 5 Dec 2020 17:49:09 +0100 Subject: Add java package --- roles/minecraft/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/minecraft/tasks') diff --git a/roles/minecraft/tasks/main.yml b/roles/minecraft/tasks/main.yml index e460974..657fb60 100644 --- a/roles/minecraft/tasks/main.yml +++ b/roles/minecraft/tasks/main.yml @@ -21,6 +21,10 @@ mode: 0700 state: directory +- name: install java package + package: + name: "{{ packages[os_distribution].java }}" + - name: download minecraft server get_url: url: "{{ minecraft_url }}" -- cgit v1.2.3