mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-15 17:53:09 +02:00
29 lines
960 B
YAML
29 lines
960 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Create directories
|
||
|
file: path={{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
||
|
loop:
|
||
|
- dir: "{{ appsmith_root_dir }}"
|
||
|
mode: 755
|
||
|
- dir: "{{ appsmith_root_dir }}/archives"
|
||
|
mode: 700
|
||
|
- dir: "{{ appsmith_root_dir }}/backup"
|
||
|
mode: 700
|
||
|
- dir: "{{ appsmith_root_dir }}/tmp"
|
||
|
owner: "{{ appsmith_user }}"
|
||
|
mode: 700
|
||
|
- dir: "{{ appsmith_root_dir }}/src"
|
||
|
owner: "{{ appsmith_user }}"
|
||
|
- dir: "{{ appsmith_root_dir }}/server"
|
||
|
owner: "{{ appsmith_user }}"
|
||
|
- dir: "{{ appsmith_root_dir }}/server/plugins"
|
||
|
owner: "{{ appsmith_user }}"
|
||
|
- dir: "{{ appsmith_root_dir }}/client"
|
||
|
- dir: "{{ appsmith_root_dir }}/meta"
|
||
|
mode: 700
|
||
|
- dir: "{{ appsmith_root_dir }}/etc"
|
||
|
group: "{{ appsmith_user }}"
|
||
|
mode: 750
|
||
|
- dir: "{{ appsmith_root_dir }}/bin"
|
||
|
tags: appsmith
|