Create drop-in for sudo for vdr user
this allows to restart vdr.service and reboot the system
This commit is contained in:
6
roles/yavdr-common/tasks/create_sudoers.yml
Normal file
6
roles/yavdr-common/tasks/create_sudoers.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: create /etc/sudoers.d/yavdr from template
|
||||
template:
|
||||
src: templates/yavdr.sudoers.j2
|
||||
dest: /etc/sudoers.d/yavdr
|
||||
mode: '0444'
|
||||
validate: visudo -cf %s
|
||||
Reference in New Issue
Block a user