updated borg state
This commit is contained in:
parent
475de43f3c
commit
20b8969fa1
@ -8,7 +8,7 @@ borg-config-script-{{ key }}:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 0755
|
- mode: 0700
|
||||||
- context:
|
- context:
|
||||||
key: {{ key }}
|
key: {{ key }}
|
||||||
job: {{ job }}
|
job: {{ job }}
|
||||||
|
@ -3,6 +3,6 @@ borg:
|
|||||||
enabled: true
|
enabled: true
|
||||||
working_dir: /opt/borg
|
working_dir: /opt/borg
|
||||||
pip_pkgs:
|
pip_pkgs:
|
||||||
- llfuse
|
|
||||||
- borgbackup
|
- borgbackup
|
||||||
|
- llfuse
|
||||||
jobs: {}
|
jobs: {}
|
||||||
|
@ -3,4 +3,3 @@ include:
|
|||||||
- .pkgs
|
- .pkgs
|
||||||
- .install
|
- .install
|
||||||
- .config
|
- .config
|
||||||
#- .schedule
|
|
||||||
|
@ -3,9 +3,11 @@
|
|||||||
borg-working-dir:
|
borg-working-dir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: {{ borg.working_dir }}
|
- name: {{ borg.working_dir }}
|
||||||
|
- mode: 0700
|
||||||
|
|
||||||
{% for dir in ['bin', 'logs', 'scripts'] %}
|
{% for dir in ['bin', 'logs', 'scripts'] %}
|
||||||
borg-working-dir-{{ dir }}:
|
borg-working-dir-{{ dir }}:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: {{ borg.working_dir }}/{{ dir }}
|
- name: {{ borg.working_dir }}/{{ dir }}
|
||||||
|
- mode: 0700
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user