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.
25 lines
621 B
25 lines
621 B
---
|
|
|
|
- name: Create directories
|
|
file: path={{ vaultwarden_root_dir }}/{{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
|
loop:
|
|
- dir: /
|
|
mode: 755
|
|
- dir: etc
|
|
group: "{{ vaultwarden_user }}"
|
|
mode: 750
|
|
- dir: tmp
|
|
mode: 700
|
|
- dir: meta
|
|
mode: 700
|
|
- dir: archives
|
|
mode: 700
|
|
- dir: data
|
|
owner: "{{ vaultwarden_user }}"
|
|
group: "{{ vaultwarden_user }}"
|
|
mode: 700
|
|
- dir: web-vault
|
|
- dir: bin
|
|
- dir: backup
|
|
mode: 700
|
|
tags: vaultwarden
|
|
|