Files
ansible/roles/yay/tasks.yml
2022-11-30 22:11:51 -08:00

20 lines
408 B
YAML

---
- name: Clone yay
git:
repo: https://aur.archlinux.org/yay-bin.git
dest: "{{ srcdir }}/yay"
update: true
- name: Build and install yay
command:
chdir: "{{ srcdir }}/yay"
cmd: "makepkg -sfi --noconfirm"
creates: /usr/bin/yay--
- name: Install yay packages
community.general.pacman:
name: "{{ item }}"
state: present
executable: yay
loop: "{{ yay_packages }}"