gotmax23.aur_test.aur (0.1.7) — module

Manage packages from the AUR

Authors: Kewl <xrjy@nygb.rh.bet(rot13)>

Install collection

Install with ansible-galaxy collection install gotmax23.aur_test:==0.1.7


Add to requirements.yml

  collections:
    - name: gotmax23.aur_test
      version: 0.1.7

Description

Manage packages from the Arch User Repository (AUR)

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install trizen using makepkg, skip if trizen is already installed
  aur: name=trizen use=makepkg state=present
  become: yes
  become_user: aur_builder

Inputs

    
use:
    choices:
    - auto
    - yay
    - paru
    - pacaur
    - trizen
    - pikaur
    - aurman
    - makepkg
    default: auto
    description:
    - The tool to use, 'auto' uses the first known helper found and makepkg as a fallback.

name:
    description:
    - Name or list of names of the package(s) to install or upgrade.

state:
    choices:
    - present
    - latest
    default: present
    description:
    - Desired state of the package.

upgrade:
    default: false
    description:
    - Whether or not to upgrade whole system.
    type: bool

aur_only:
    default: false
    description:
    - Limit helper operation to the AUR.
    type: bool

extra_args:
    description:
    - Arguments to pass to the tool. Requires that the 'use' option be set to something
      other than 'auto'.
    type: str

ignore_arch:
    default: false
    description:
    - Only valid with makepkg. Ignore a missing or incomplete arch field, useful when
      the PKGBUILD does not have the arch=('yourarch') field. Cannot be used unless use
      is set to 'makepkg'.
    type: bool

local_pkgbuild:
    default: false
    description:
    - Only valid with makepkg or pikaur. Directory with PKGBUILD and build files. Cannot
      be used unless use is set to 'makepkg' or 'pikaur'.
    type: path

skip_pgp_check:
    default: false
    description:
    - Only valid with makepkg. Skip PGP signatures verification of source file. This is
      useful when installing packages without GnuPG (properly) configured. Cannot be used
      unless use is set to 'makepkg'.
    type: bool

Outputs

helper:
  description: the helper that was actually used
msg:
  description: action that has been taken