Fix #28: Set directory permissions (#29)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m23s
Details
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m23s
Details
Since we are using `user:` in docker-compose, we need to set the directory permissions so that everything doesn't crash immediately. Reviewed-on: #29
This commit is contained in:
parent
d4d5511b78
commit
54cf382710
|
@ -47,3 +47,19 @@
|
|||
ansible.builtin.command: docker compose up -d
|
||||
args:
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue