12 lines
278 B
Plaintext
12 lines
278 B
Plaintext
---
|
|
{%- from "borg/map.jinja" import borg with context %}
|
|
borg-working-dir:
|
|
file.directory:
|
|
- name: {{ borg.working_dir }}
|
|
|
|
{% for dir in ['bin', 'logs', 'scripts'] %}
|
|
borg-working-dir-{{ dir }}:
|
|
file.directory:
|
|
- name: {{ borg.working_dir }}/{{ dir }}
|
|
{% endfor %}
|