hackmd: update and fix uploads folder link creation
This commit is contained in:
parent
4c7d472f2f
commit
c763264ccd
@ -1,3 +1,3 @@
|
||||
---
|
||||
|
||||
hackmd_version: 1.2.1
|
||||
hackmd_version: 1.3.1
|
||||
|
@ -28,8 +28,11 @@
|
||||
- name: Create hackmd upload path
|
||||
file: path=/opt/codimd/uploads state=directory recurse=yes owner=hackmd group=hackmd
|
||||
|
||||
- name: Remove old hackmd upload path
|
||||
file: path=/opt/codimd-{{ hackmd_version }}/public/uploads state=absent force=yes
|
||||
|
||||
- name: Link hackmd upload path
|
||||
file: path=/opt/codimd/uploads dest=/opt/codimd-{{ hackmd_version }}/public/uploads state=link owner=hackmd group=hackmd
|
||||
file: path=/opt/codimd-{{ hackmd_version }}/public/uploads src=/opt/codimd/uploads state=link owner=hackmd group=hackmd
|
||||
|
||||
- name: Setup hackmd
|
||||
command: bin/setup chdir=/opt/codimd-{{ hackmd_version }} creates=/opt/codimd-{{ hackmd_version }}/config.json
|
||||
|
Loading…
Reference in New Issue
Block a user