diff options
Diffstat (limited to 'roles/wlctl')
| -rw-r--r-- | roles/wlctl/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/wlctl/meta/main.yml | 18 | ||||
| -rw-r--r-- | roles/wlctl/tasks/main.yml | 7 |
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 }}" |
