From 053459dd0333926a82993a8f05078826702f35b2 Mon Sep 17 00:00:00 2001 From: Gustavo Ambrozio Date: Thu, 23 May 2024 20:10:24 -1000 Subject: [PATCH] Fix minecraft docker folder creation The folder was being created even when not configured to be installed. --- roles/minecraft-bedrock-server/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/minecraft-bedrock-server/tasks/main.yml b/roles/minecraft-bedrock-server/tasks/main.yml index 6eeeaeb4..6849dee7 100644 --- a/roles/minecraft-bedrock-server/tasks/main.yml +++ b/roles/minecraft-bedrock-server/tasks/main.yml @@ -1,13 +1,13 @@ --- -- name: Create Minecraft Bedrock Server Directories - ansible.builtin.file: - path: "{{ item }}" - state: directory - with_items: - - "{{ minecraft_bedrock_server_data_directory }}" - - name: Start Minecraft Bedrock Server block: + - name: Create Minecraft Bedrock Server Directories + ansible.builtin.file: + path: "{{ item }}" + state: directory + with_items: + - "{{ minecraft_bedrock_server_data_directory }}" + - name: Minecraft Bedrock Server Docker Container community.docker.docker_container: name: "{{ minecraft_bedrock_server_container_name }}"