2020-09-22 20:06:32 +02:00
|
|
|
---
|
|
|
|
{%- from "borg/map.jinja" import borg with context %}
|
|
|
|
borg-working-dir:
|
|
|
|
file.directory:
|
|
|
|
- name: {{ borg.working_dir }}
|
2020-10-10 23:21:29 +02:00
|
|
|
- mode: 0700
|
2020-09-22 20:06:32 +02:00
|
|
|
|
2021-05-15 13:05:18 +02:00
|
|
|
{% for dir in borg.default_dirs %}
|
2020-09-22 20:06:32 +02:00
|
|
|
borg-working-dir-{{ dir }}:
|
|
|
|
file.directory:
|
|
|
|
- name: {{ borg.working_dir }}/{{ dir }}
|
2020-10-10 23:21:29 +02:00
|
|
|
- mode: 0700
|
2020-09-22 20:06:32 +02:00
|
|
|
{% endfor %}
|
2022-02-21 13:52:46 +01:00
|
|
|
|
|
|
|
borg-log-dir:
|
|
|
|
file.directory:
|
|
|
|
- name: {{ borg.log_dir }}
|
|
|
|
- mode: 0700
|