paulbsd-salt/states/borg/templates/borg_sudo.j2

4 lines
168 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