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
Parameter | Type | Description | Required | Default | Choices |
---|---|---|---|---|---|
name | [string] | List of package names to operate on. Can include both official repository and AUR packages. | false | ||
state | string | Desired package state. | false | present | present, absent |
Outputs
No outputs.