From b9d0c5d55db809ac05cd1aa82cce2de66e76ed5a Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 27 Jan 2024 18:25:40 +0000 Subject: [PATCH] Fix #36: Update samba file permissions in playbook (#40) Reviewed-on: https://git.koval.net/cyclane/kovalhome/pulls/40 --- infra/samba/0003_samba_playbook.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/infra/samba/0003_samba_playbook.yaml b/infra/samba/0003_samba_playbook.yaml index c295370..1df1e72 100644 --- a/infra/samba/0003_samba_playbook.yaml +++ b/infra/samba/0003_samba_playbook.yaml @@ -33,3 +33,12 @@ ansible.builtin.command: docker compose up -d args: chdir: "{{ user.home }}/{{ app }}" + + - name: Update samba permissions + ansible.builtin.file: + path: /mnt/share/samba + state: directory + recurse: true + owner: debian + group: debian + become: true