mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
add vopono
This commit is contained in:
parent
101015c2f6
commit
e8d067448c
3 changed files with 19 additions and 0 deletions
1
roles/vopono/files/sudo_vopono
Normal file
1
roles/vopono/files/sudo_vopono
Normal file
|
|
@ -0,0 +1 @@
|
|||
%wheel ALL=(ALL) NOPASSWD:SETENV:/usr/bin/vopono*
|
||||
17
roles/vopono/tasks/main.yml
Normal file
17
roles/vopono/tasks/main.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- name: Install Vopono
|
||||
aur:
|
||||
name: vopono
|
||||
user: "{{ user.name }}"
|
||||
tags:
|
||||
- aur
|
||||
|
||||
- name: Allow passwordless Vopono for wheel group
|
||||
copy:
|
||||
src: sudo_vopono
|
||||
dest: /etc/sudoers.d/03_vopono
|
||||
mode: 440
|
||||
validate: 'visudo -cf %s'
|
||||
tags:
|
||||
- aur
|
||||
- sudo
|
||||
Loading…
Add table
Add a link
Reference in a new issue