updated borg state

This commit is contained in:
Paul 2020-10-10 23:21:29 +02:00
parent 475de43f3c
commit 20b8969fa1
4 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@ borg-config-script-{{ key }}:
- template: jinja
- user: root
- group: root
- mode: 0755
- mode: 0700
- context:
key: {{ key }}
job: {{ job }}

View File

@ -3,6 +3,6 @@ borg:
enabled: true
working_dir: /opt/borg
pip_pkgs:
- llfuse
- borgbackup
- llfuse
jobs: {}

View File

@ -3,4 +3,3 @@ include:
- .pkgs
- .install
- .config
#- .schedule

View File

@ -3,9 +3,11 @@
borg-working-dir:
file.directory:
- name: {{ borg.working_dir }}
- mode: 0700
{% for dir in ['bin', 'logs', 'scripts'] %}
borg-working-dir-{{ dir }}:
file.directory:
- name: {{ borg.working_dir }}/{{ dir }}
- mode: 0700
{% endfor %}