Skip to main content

yay

yay module​

Manage packages with the yay AUR helper. This module can install or remove packages from the Arch User Repository (AUR) and official repositories on Arch Linux systems.

Examples​

- name: Install AUR package
yay:
name:
- google-chrome
state: present

- name: Install multiple packages
yay:
name:
- discord
- visual-studio-code-bin
- spotify
state: present

- name: Remove AUR package
yay:
name:
- google-chrome
state: absent

Note: This module requires yay to be installed and is designed for Arch Linux systems. Yay can install both official packages and AUR packages.

Module Capabilities

  • Has Revert: true
  • Provides Variables: None

Inputs

ParameterTypeDescriptionRequiredDefaultChoices
name[string]List of package names to operate on. Can include both official repository and AUR packages.false
statestringDesired package state.falsepresentpresent, absent

Outputs

No outputs.