mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
21 lines
663 B
YAML
21 lines
663 B
YAML
---
|
|
|
|
- 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
|