From 7eff8a43ef49d66405063380a6d9b786099a02f4 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 27 Jan 2024 18:16:23 +0000 Subject: [PATCH] Fix #36: Fix mounts and trigger CI (#39) We need to create each samba folder manually - do it with docker-compose I guess. Reviewed-on: https://git.koval.net/cyclane/kovalhome/pulls/39 --- infra/samba/0003_samba_playbook.yaml | 2 +- infra/samba/samba/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/samba/0003_samba_playbook.yaml b/infra/samba/0003_samba_playbook.yaml index 0ba6f37..c295370 100644 --- a/infra/samba/0003_samba_playbook.yaml +++ b/infra/samba/0003_samba_playbook.yaml @@ -7,11 +7,11 @@ - name: Wait for connection ansible.builtin.wait_for_connection: timeout: 300 - - name: Get user ansible.builtin.user: name: debian register: user + - name: Docker compose down ansible.builtin.command: docker compose down args: diff --git a/infra/samba/samba/docker-compose.yml b/infra/samba/samba/docker-compose.yml index 06ed512..8da5bcd 100644 --- a/infra/samba/samba/docker-compose.yml +++ b/infra/samba/samba/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - samba-data:/data - ./config.yml:/data/config.yml - - /mnt/share/samba:/samba + - /mnt/share/samba/kvkbackups:/samba/kvkbackups environment: - TZ=Europe/London