This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
homeserver-ansible/roles/aur/tasks/main.yml
2022-05-10 22:11:16 -04:00

34 lines
553 B
YAML

- name: Create user for yay builds
user:
name: aur-build
- name: Install required packages
community.general.pacman:
name:
- fakeroot
- autoconf
- automake
- bison
- flex
- gcc
- libtool
- m4
- make
- patch
- pkgconf
- texinfo
- name: Symlink sudo to doas
file:
dest: /usr/bin/sudo
src: /usr/bin/doas
state: link
ignore_errors: yes
- name: Install yay
kewlfft.aur.aur:
name: yay-bin
use: makepkg
state: present
become_user: aur-build