dandyrow.archlinux.install_aur_pkg role – Install packages from the AUR using makepkg

Note

This role is part of the dandyrow.archlinux collection (version 1.0.0).

To install it use: ansible-galaxy collection install dandyrow.archlinux.

To use it in a playbook, specify: dandyrow.archlinux.install_aur_pkg.

Entry point main – Install packages from the AUR using makepkg

Synopsis

  • Install packages from the Arch User Repository using makepkg

Parameters

Parameter

Comments

aur_package

list / elements=string / required

List of package names to install from the AUR

makepkg_build_dependencies

list / elements=string

List of packages that makepkg depends on.

Role will install them if not already installed.

User of this role shouldn’t need to change this variable.

Documented only for completeness.

Default: ["git", "make", "binutils", "fakeroot"]

non_root_aur_user

string

Non-root user which is used to run makepkg.

Makepkg can’t be run as root see https://wiki.archlinux.org/title/Makepkg for information why.

This user must be able to run pacman as root without a password for this role to work.

Default: "aur_builder"

Authors

  • Daniel Lowry (github.com/dandyrow)