summaryrefslogtreecommitdiffstats
path: root/roles/wlctl/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-22 21:07:05 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-22 21:07:05 +0100
commit34c927e98a33ac2c074450fd1688bae1609fde42 (patch)
treebd3c7ccf9fc46ccd00467a34c678e71399871b13 /roles/wlctl/tasks
parenta6225807bbac6bb576eb582eddc8725f1ace24e5 (diff)
Use aur/yay helper to install wlctl
Diffstat (limited to 'roles/wlctl/tasks')
-rw-r--r--roles/wlctl/tasks/main.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/wlctl/tasks/main.yml b/roles/wlctl/tasks/main.yml
index da22bb07..e7eff1b8 100644
--- a/roles/wlctl/tasks/main.yml
+++ b/roles/wlctl/tasks/main.yml
@@ -1,7 +1,8 @@
---
- name: "Ensure wlctl is installed"
- community.general.cargo:
+ become: true
+ become_user: "aur_builder"
+ kewlfft.aur.aur:
name: "wlctl"
state: "present"
- environment:
- PATH: "{{ ansible_env.HOME }}/.cargo/bin:{{ ansible_env.PATH }}"
+ use: "yay"