add vopono

This commit is contained in:
Pig Monkey 2024-02-22 19:45:52 -08:00
parent 101015c2f6
commit e8d067448c
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1 @@
%wheel ALL=(ALL) NOPASSWD:SETENV:/usr/bin/vopono*

View 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