🐛: fix create app directory before unarchive

This commit is contained in:
VC
2025-02-14 12:03:24 +01:00
parent 78fe8d0148
commit e05e592ed4

View File

@@ -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
ansible.builtin.unarchive:
remote_src: true
@@ -18,6 +26,7 @@
dest: "{{ shaarli_local_path }}/{{ item }}"
owner: root
group: www-data
recurse: true
mode: "g+w"
loop:
- "data"