aboutsummaryrefslogtreecommitdiffstats
path: root/roles/minecraft
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-12-05 17:49:09 +0100
committerbinary <me@rgoncalves.se>2020-12-05 17:49:09 +0100
commitabe0bed4b7506b043ded34d7cb6cecb3e07246bc (patch)
tree65b56b8f5759985c6282998a2f0706ea1b13ed64 /roles/minecraft
parentc91eb3fbc202d296b68d47e5b6c6e573a598769f (diff)
downloadinfrastructure-abe0bed4b7506b043ded34d7cb6cecb3e07246bc.tar.gz
Add java package
Diffstat (limited to 'roles/minecraft')
-rw-r--r--roles/minecraft/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
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 }}"
remember that computers suck.