pvc-ansible/roles/base/templates/etc/sudoers.d/sudoers-backup.j2

6 lines
160 B
Django/Jinja

# sudoers configuraton for BackupPC
# {{ ansible_managed }}
Cmnd_Alias BACKUPS = /usr/bin/rsync, /var/backups/timestamp.sh
backup ALL=(root) NOPASSWD: BACKUPS