mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
22 lines
638 B
YAML
22 lines
638 B
YAML
---
|
|
|
|
- name: Create required directories
|
|
file: path={{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
|
loop:
|
|
- dir: "{{ offen_root_dir }}"
|
|
- dir: "{{ offen_root_dir }}/meta"
|
|
mode: 700
|
|
- dir: "{{ offen_root_dir }}/backup"
|
|
mode: 700
|
|
- dir: "{{ offen_root_dir }}/archives"
|
|
mode: 700
|
|
- dir: "{{ offen_root_dir }}/bin"
|
|
- dir: "{{ offen_root_dir }}/etc"
|
|
group: "{{ offen_user }}"
|
|
mode: 750
|
|
- dir: "{{ offen_root_dir }}/tmp"
|
|
group: "{{ offen_user }}"
|
|
mode: 770
|
|
tags: offen
|
|
|