mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-07-25 16:00
This commit is contained in:
22
roles/odoo/tasks/directories.yml
Normal file
22
roles/odoo/tasks/directories.yml
Normal 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
|
||||
|
Reference in New Issue
Block a user