ansible-arch-yay

Ansible role to install yay AUR helper.

Build Status Github All Releases GitHub forks GitHub stars GitHub watchers Twitter Follow License

Requirements

  • Ansible 2.7.1
  • pacman ;-)

ansible.cfg

hash_behaviour = merge

Install

Just add the role to your requirements.yml file:

- src: https://github.com/feffi/ansible-arch-yay.git
  name: ansible-arch-yay

Role Defaults Variables

ansible_arch_yay: {
  # The yay git source repository
  git: "https://aur.archlinux.org/yay.git",
  # The owner of the repository
  owner: {
    name: "feffi",
    group: "feffi"
  },
  # Destination to clone yay to
  dest: "/home/feffi/yay"
}

Example:

- hosts: all
  vars:
    ansible_arch_yay:
      # The yay git source repository
      git: "https://aur.archlinux.org/yay.git"
      # The owner of the repository
      owner:
        name: "feffi"
        group: "feffi"
      # Destination to clone yay to
      dest: "/home/feffi/yay"
  roles:
    - { role: ansible-arch-yay }