mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-03-07 16:00
This commit is contained in:
20
roles/unmaintained/matomo/tasks/directories.yml
Normal file
20
roles/unmaintained/matomo/tasks/directories.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
- name: Create directories
|
||||
file: path={{ item.path }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
||||
with_items:
|
||||
- path: "{{ matomo_root_dir }}/sessions"
|
||||
group: "{{ matomo_php_user }}"
|
||||
mode: 770
|
||||
- path: "{{ matomo_root_dir }}/tmp"
|
||||
group: "{{ matomo_php_user }}"
|
||||
mode: 770
|
||||
- path: "{{ matomo_root_dir }}/cache"
|
||||
group: "{{ matomo_php_user }}"
|
||||
mode: 770
|
||||
- path: "{{ matomo_root_dir }}/web"
|
||||
- path: "{{ matomo_root_dir }}/meta"
|
||||
mode: 700
|
||||
- path: "{{ matomo_root_dir }}/backup"
|
||||
mode: 700
|
||||
tags: matomo
|
Reference in New Issue
Block a user