k8s-clusters/ansible/arch-linux/tasks/create-aur-builder.yml

10 lines
291 B
YAML
Raw Normal View History

2022-02-01 17:05:06 -06:00
# source: https://wiki.archlinux.org/title/Ansible#AUR
- user: name=aur_builder
- lineinfile:
path: /etc/sudoers.d/aur_builder-allow-to-sudo-pacman
state: present
line: "aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman"
validate: /usr/sbin/visudo -cf %s
create: yes