diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-01-22 21:07:05 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-01-22 21:07:05 +0100 |
| commit | b9938b3fcc2d6b9b924f86cedfbeda2a96c0cc1b (patch) | |
| tree | bd3c7ccf9fc46ccd00467a34c678e71399871b13 /roles/wlctl | |
| parent | 84a1042ec9df4fdfe2b2e526cc5bf46a787f59fe (diff) | |
Use aur/yay helper to install wlctl
Diffstat (limited to 'roles/wlctl')
| -rw-r--r-- | roles/wlctl/meta/main.yml | 3 | ||||
| -rw-r--r-- | roles/wlctl/tasks/main.yml | 7 |
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" |
