🐛: fix create app directory before unarchive
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Create application directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
state: directory
|
||||||
|
path: "{{ shaarli_local_path }}"
|
||||||
|
owner: root
|
||||||
|
group: www-data
|
||||||
|
mode: "a-rwx,u+rwX,g+rX"
|
||||||
|
|
||||||
- name: Install Shaarli
|
- name: Install Shaarli
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
remote_src: true
|
||||||
@@ -18,6 +26,7 @@
|
|||||||
dest: "{{ shaarli_local_path }}/{{ item }}"
|
dest: "{{ shaarli_local_path }}/{{ item }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: www-data
|
group: www-data
|
||||||
|
recurse: true
|
||||||
mode: "g+w"
|
mode: "g+w"
|
||||||
loop:
|
loop:
|
||||||
- "data"
|
- "data"
|
||||||
|
Reference in New Issue
Block a user