mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 03:38:41 +00:00
Fix minecraft docker folder creation
The folder was being created even when not configured to be installed.
This commit is contained in:
parent
a4773cf64b
commit
053459dd03
1 changed files with 7 additions and 7 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue