fix(penpot): asset dir permissions

This commit is contained in:
Saibotk 2024-11-09 05:24:05 +01:00
parent e893715574
commit 65c327c252
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -46,10 +46,21 @@
setype: "container_file_t"
with_items:
- "{{ penpot_database_location }}"
- "{{ penpot_asset_location }}"
- "{{ penpot_redis_location }}"
become: true
- name: Create asset directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
setype: "container_file_t"
mode: "0750"
owner: "1001"
group: "root"
with_items:
- "{{ penpot_asset_location }}"
become: true
- name: Deploy docker-compose.yml
ansible.builtin.template:
src: "docker-compose.yml"