aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/yay.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/workstation/tasks/yay.yml')
-rw-r--r--roles/workstation/tasks/yay.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/workstation/tasks/yay.yml b/roles/workstation/tasks/yay.yml
new file mode 100644
index 0000000..cafbc9c
--- /dev/null
+++ b/roles/workstation/tasks/yay.yml
@@ -0,0 +1,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.