paulbsd-salt/states/borg/templates/borg_sudo.j2
2021-08-28 12:13:24 +02:00

5 lines
169 B
Django/Jinja

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