diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-02 22:45:38 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-02 23:09:30 +0200 |
| commit | 6183653179fd4a36a1c7142e8debc9e584481093 (patch) | |
| tree | 9fff273e850a85775f30c46dc8835e406275ca0b /roles/bash | |
| parent | d043c2b3358d39ecc9870e0dd8ed7167faeca1c8 (diff) | |
Add bash as a role and use it in role dependencies when bash is needed
Diffstat (limited to 'roles/bash')
| -rw-r--r-- | roles/bash/meta/main.yml | 18 | ||||
| -rw-r--r-- | roles/bash/tasks/main.yml | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/roles/bash/meta/main.yml b/roles/bash/meta/main.yml new file mode 100644 index 00000000..f8dac374 --- /dev/null +++ b/roles/bash/meta/main.yml @@ -0,0 +1,18 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install bash" + 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/bash/tasks/main.yml b/roles/bash/tasks/main.yml new file mode 100644 index 00000000..cf064512 --- /dev/null +++ b/roles/bash/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure bash is installed" + become: true + ansible.builtin.package: + name: "bash" + state: "present" |
