From dfe8007bc570569ab73ac4e349cbff3c2bf68897 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 4 Jun 2023 19:55:03 -0500 Subject: [PATCH] Add a vanilla serber --- playbooks/tasks/game/minecraft-vanilla.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 playbooks/tasks/game/minecraft-vanilla.yml diff --git a/playbooks/tasks/game/minecraft-vanilla.yml b/playbooks/tasks/game/minecraft-vanilla.yml new file mode 100644 index 0000000..0e99a12 --- /dev/null +++ b/playbooks/tasks/game/minecraft-vanilla.yml @@ -0,0 +1,19 @@ +# vim:ft=ansible: +- name: docker deploy minecraft - vanilla + docker_container: + name: minecraft-vanilla + state: started + image: itzg/minecraft-server:latest + restart_policy: unless-stopped + pull: yes + env: + EULA: "true" + MODRINTH_PROJECT: "https://modrinth.com/modpack/extreme-optimization!/version/1.19.4TPL" + TYPE: "MODRINTH" + VERSION: "1.19.4" + ports: + - "25565:26565/tcp" + - "25565:26565/udp" + volumes: + - /data/minecraft/vanilla:/data + tags: [ docker, minecraft ]