Set directory permissions
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m54s Details

This commit is contained in:
Gleb Koval 2024-01-06 18:10:33 +00:00
parent d4d5511b78
commit 2433389647
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 16 additions and 0 deletions

View File

@ -47,3 +47,19 @@
ansible.builtin.command: docker compose up -d ansible.builtin.command: docker compose up -d
args: args:
chdir: "{{ user.home }}/{{ app }}" chdir: "{{ user.home }}/{{ app }}"
- name: Update data permissions
ansible.builtin.file:
path: /mnt/nvme
state: directory
recurse: yes
owner: debian
group: debian
- name: Update media permissions
ansible.builtin.file:
path: /mnt/media
state: directory
recurse: yes
owner: debian
group: debian