summaryrefslogtreecommitdiffstats
path: root/roles/which
diff options
context:
space:
mode:
Diffstat (limited to 'roles/which')
-rw-r--r--roles/which/meta/argument_specs.yml6
-rw-r--r--roles/which/meta/main.yml18
-rw-r--r--roles/which/tasks/main.yml6
3 files changed, 30 insertions, 0 deletions
diff --git a/roles/which/meta/argument_specs.yml b/roles/which/meta/argument_specs.yml
new file mode 100644
index 00000000..87a91762
--- /dev/null
+++ b/roles/which/meta/argument_specs.yml
@@ -0,0 +1,6 @@
+---
+argument_specs:
+ main:
+ short_description: "Install which on Linux distribution"
+ description: "Install which on Linux distribution"
+ options: {}
diff --git a/roles/which/meta/main.yml b/roles/which/meta/main.yml
new file mode 100644
index 00000000..48c2b714
--- /dev/null
+++ b/roles/which/meta/main.yml
@@ -0,0 +1,18 @@
+---
+dependencies: []
+galaxy_info:
+ author: "a14m"
+ description: "Install which binary on Linux"
+ company: "kartoffeln.work GmbH."
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
+ - name: "Ubuntu"
+ versions:
+ - "noble"
+ - name: "Debian"
+ versions:
+ - "bookworm"
diff --git a/roles/which/tasks/main.yml b/roles/which/tasks/main.yml
new file mode 100644
index 00000000..85ea0282
--- /dev/null
+++ b/roles/which/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: "Ensure which is installed"
+ become: true
+ ansible.builtin.package:
+ name: "which"
+ state: "present"