updated borg state

This commit is contained in:
Paul 2021-08-28 12:13:24 +02:00
parent 4ea7cee328
commit ce65547c02
3 changed files with 3 additions and 2 deletions

View File

@ -23,3 +23,4 @@ borg-config-sudo:
- user: root - user: root
- group: root - group: root
- mode: 600 - mode: 600
- check_cmd: /usr/sbin/visudo -c -f

View File

@ -1,6 +1,5 @@
--- ---
include: include:
- dkron
- .pkgs - .pkgs
- .install - .install
- .config - .config

View File

@ -1,3 +1,4 @@
{%- from "borg/map.jinja" import borg with context %} {%- from "borg/map.jinja" import borg with context %}
## Sudo rights for borg run_user ## Sudo rights for borg run_user
{{ borg.run_user }} ALL=(ALL) NOPASSWD: {{ borg.working_dir }}/scripts/borg_*.sh {{ borg.run_user }} ALL=(ALL) NOPASSWD: {{ borg.working_dir }}/scripts/borg_*.sh