k8s-clusters/ansible/k3s-node/tasks/create-aur-builder-user.yml

10 lines
286 B
YAML
Raw Normal View History

2022-02-07 21:07:07 -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