Update to 2022-07-25 16:00

This commit is contained in:
Daniel Berteaud
2022-07-25 16:00:15 +02:00
parent 9e88a5cd50
commit be9c0c5702
26 changed files with 387 additions and 310 deletions

View File

@@ -0,0 +1,22 @@
---
- 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: "{{ odoo_root_dir }}"
owner: "{{ odoo_user }}"
mode: 700
- path: "{{ odoo_root_dir }}/tmp"
- path: "{{ odoo_root_dir }}/meta"
mode: 700
- path: "{{ odoo_root_dir }}/etc"
group: "{{ odoo_user }}"
mode: 750
- path: "{{ odoo_root_dir }}/app"
- path: "{{ odoo_root_dir }}/backup"
mode: 700
- path: "{{ odoo_root_dir }}/data"
group: "{{ odoo_user }}"
mode: 770
tags: odoo