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