summaryrefslogtreecommitdiffstats
path: root/roles/wlctl
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-08 00:35:04 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-08 01:00:12 +0100
commit27760196dee4db0631c6dceb21d0e721957c88b8 (patch)
treeaf94e0038cae1b9dd843bf23193acb51b165e47d /roles/wlctl
parent01b890a586b3fa9d7543b3bc271e6e87236d88b8 (diff)
Add wlctl role to install impala-like NetworkManager TUI
Diffstat (limited to 'roles/wlctl')
-rw-r--r--roles/wlctl/meta/argument_specs.yml6
-rw-r--r--roles/wlctl/meta/main.yml18
-rw-r--r--roles/wlctl/tasks/main.yml7
3 files changed, 31 insertions, 0 deletions
diff --git a/roles/wlctl/meta/argument_specs.yml b/roles/wlctl/meta/argument_specs.yml
new file mode 100644
index 00000000..813b7c02
--- /dev/null
+++ b/roles/wlctl/meta/argument_specs.yml
@@ -0,0 +1,6 @@
+---
+argument_specs:
+ main:
+ short_description: "Install wlctl"
+ description: "Install wlctl"
+ options: {}
diff --git a/roles/wlctl/meta/main.yml b/roles/wlctl/meta/main.yml
new file mode 100644
index 00000000..8aaa5e03
--- /dev/null
+++ b/roles/wlctl/meta/main.yml
@@ -0,0 +1,18 @@
+---
+dependencies:
+ - role: "rust"
+galaxy_info:
+ author: "a14m"
+ description: "Install wlctl"
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
+ - name: "Ubuntu"
+ versions:
+ - "noble"
+ - name: "Debian"
+ versions:
+ - "bookworm"
diff --git a/roles/wlctl/tasks/main.yml b/roles/wlctl/tasks/main.yml
new file mode 100644
index 00000000..da22bb07
--- /dev/null
+++ b/roles/wlctl/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: "Ensure wlctl is installed"
+ community.general.cargo:
+ name: "wlctl"
+ state: "present"
+ environment:
+ PATH: "{{ ansible_env.HOME }}/.cargo/bin:{{ ansible_env.PATH }}"