aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/yay.yml
blob: cafbc9cc172cbe262fe0e5b2d791d61e145104ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- name: clone yay repository
  git:
    repo: "{{ workstation_yay_repo }}"
    dest: "{{ workstation_yay_dir }}"
    version: origin/master
  become: true
  become_user: "{{ workstation_user }}"

- name: make yay package  # noqa: no-changed-when
  command:
    cmd: makepkg -fs
    chdir: "{{ workstation_yay_dir }}"
  become: true
  become_user: "{{ workstation_user }}"

- name: install yay package  # noqa: no-changed-when
  shell:
    cmd: pacman --noconfirm -U *.zst
    chdir: "{{ workstation_yay_dir }}"
remember that computers suck.