Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
663 B

---
- 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