diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-28 00:03:37 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-29 17:52:39 +0100 |
| commit | 2427127b814a85342b2279083eec60968554c53c (patch) | |
| tree | b1b5489f78d0634430893743dadb27d35a53f400 /roles/which | |
| parent | 5627a4ceabc73c90cf89a6dc8587c003f59415e2 (diff) | |
Add the minimal role to ensure which util/bin is installed on boot
Diffstat (limited to 'roles/which')
| -rw-r--r-- | roles/which/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/which/meta/main.yml | 18 | ||||
| -rw-r--r-- | roles/which/tasks/main.yml | 6 |
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" |
