From 4e2732be3f81ff3176a4faaa7012c2a99ba78983 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 25 Jun 2020 08:50:01 -0500 Subject: [PATCH] Don't run the recovery script if the world exists BIG OOPS --- roles/minecraft/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/minecraft/tasks/main.yml b/roles/minecraft/tasks/main.yml index 933df8a..d8e7cae 100644 --- a/roles/minecraft/tasks/main.yml +++ b/roles/minecraft/tasks/main.yml @@ -140,6 +140,7 @@ - bash - "./recover.sh" notify: "restart minecraft {{ mcname }}" + when: not stat_mcroot_world.stat.exists - name: Configure server block: - name: Template out server.properties