mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +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
|
- name: Start Minecraft Bedrock Server
|
||||||
block:
|
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
|
- name: Minecraft Bedrock Server Docker Container
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: "{{ minecraft_bedrock_server_container_name }}"
|
name: "{{ minecraft_bedrock_server_container_name }}"
|
||||||
|
|
Loading…
Reference in a new issue