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

4 lines
168 B
Plaintext
Raw Normal View History

2021-03-20 10:40:09 +01:00
{%- 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