Ansible role to install yay AUR helper.
- Ansible 2.7.1
- pacman ;-)
hash_behaviour = merge
Just add the role to your requirements.yml
file:
- src: https://github.com/feffi/ansible-arch-yay.git
name: ansible-arch-yay
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 }