add data folder creation

This commit is contained in:
Elouin 2024-10-20 17:07:06 +02:00
parent ca39f2d2a1
commit 5d81d08d9e

View file

@ -1,21 +1,27 @@
Ensure git is installed: ensure-git-is-installed:
pkg.installed: pkg.installed:
- name: git - name: git
mumble docker git repository is available and up to date: mumble-docker-git-repository-is-available-and-up-to-date:
git.latest: git.latest:
- name: https://code.flipdot.org/flipdot/mumble-docker.git - name: https://code.flipdot.org/flipdot/mumble-docker.git
- target: /opt/mumble-dockerfile - target: /opt/mumble-dockerfile
mumble docker image was build and is available: mumble-data-directory-exists:
file.directory:
- name: /opt/mumble/data
- makedirs: True
mumble-docker-image-was-build-and-is-available:
docker_image.present: docker_image.present:
- name: flipdot/mumble - name: flipdot/mumble
- tag: latest - tag: latest
- build: /opt/mumble-dockerfile - build: /opt/mumble-dockerfile
mumble docker container is running: mumble-docker-container-is-running:
docker_container.running: docker_container.running:
- name: flipdot/mumble - name: mumble
- image: flipdot/mumble:latest
- binds: /opt/mumble/data:/data - binds: /opt/mumble/data:/data
- port_bindings: - port_bindings:
- 64738:64738 - 64738:64738