workarount install with aur

This commit is contained in:
Bertrand Benjamin 2018-08-22 22:22:38 +02:00
parent 5c2380f21f
commit dc4de30a0c

View File

@ -2,8 +2,10 @@
- user: - user:
name: aur_builder name: aur_builder
group: wheel group: wheel
- lineinfile: - lineinfile:
path: /etc/sudoers.d/11-install-aur_builder path: /etc/sudoers.d/11-install-aur_builder
state: present
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman' line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
create: yes create: yes
validate: 'visudo -cf %s' validate: 'visudo -cf %s'
@ -21,5 +23,4 @@
name: yay name: yay
use: makepkg use: makepkg
skip_installed: true skip_installed: true
become: true
become_user: aur_builder become_user: aur_builder