feat: add drawio instance for nextcloud and opencloud
Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
f3f2b6d5b7
commit
910986b808
11 changed files with 152 additions and 4 deletions
|
|
@ -31,7 +31,32 @@
|
|||
owner: "1000"
|
||||
group: "1000"
|
||||
mode: '0644'
|
||||
when: opencloud_csp_extra_connect_src | length > 0
|
||||
when: opencloud_csp_extra_connect_src | length > 0 or opencloud_csp_extra_frame_src | length > 0
|
||||
notify: restart opencloud
|
||||
|
||||
- name: Create draw.io extension apps directory
|
||||
file:
|
||||
path: "{{ opencloud_docker_volume_dir }}/data/web/assets/apps/draw-io"
|
||||
state: directory
|
||||
owner: "1000"
|
||||
group: "1000"
|
||||
mode: '0755'
|
||||
when: opencloud_drawio_url | length > 0
|
||||
|
||||
- name: Create draw.io extension config
|
||||
copy:
|
||||
content: |
|
||||
{
|
||||
"config": {
|
||||
"url": "{{ opencloud_drawio_url }}",
|
||||
"theme": "{{ opencloud_drawio_theme }}"
|
||||
}
|
||||
}
|
||||
dest: "{{ opencloud_docker_volume_dir }}/data/web/assets/apps/draw-io/config.json"
|
||||
owner: "1000"
|
||||
group: "1000"
|
||||
mode: '0644'
|
||||
when: opencloud_drawio_url | length > 0
|
||||
notify: restart opencloud
|
||||
|
||||
- name: Create docker-compose file for opencloud
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue