fix(penpot): asset dir permissions
This commit is contained in:
parent
e893715574
commit
65c327c252
1 changed files with 12 additions and 1 deletions
|
@ -46,10 +46,21 @@
|
||||||
setype: "container_file_t"
|
setype: "container_file_t"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ penpot_database_location }}"
|
- "{{ penpot_database_location }}"
|
||||||
- "{{ penpot_asset_location }}"
|
|
||||||
- "{{ penpot_redis_location }}"
|
- "{{ penpot_redis_location }}"
|
||||||
become: true
|
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
|
- name: Deploy docker-compose.yml
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "docker-compose.yml"
|
src: "docker-compose.yml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue