summaryrefslogtreecommitdiffstats
path: root/roles/wlctl
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
parenta6225807bbac6bb576eb582eddc8725f1ace24e5 (diff)
Use aur/yay helper to install wlctl
Diffstat (limited to 'roles/wlctl')
-rw-r--r--roles/wlctl/meta/main.yml3
-rw-r--r--roles/wlctl/tasks/main.yml7
2 files changed, 5 insertions, 5 deletions
diff --git a/roles/wlctl/meta/main.yml b/roles/wlctl/meta/main.yml
index 814bd22e..d02a6032 100644
--- a/roles/wlctl/meta/main.yml
+++ b/roles/wlctl/meta/main.yml
@@ -1,7 +1,6 @@
---
dependencies:
- - role: "gcc"
- - role: "rust"
+ - role: "yay"
galaxy_info:
author: "a14m"
description: "Install wlctl"
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"