summaryrefslogtreecommitdiffstats
path: root/roles/locales/tasks
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-09-02 22:45:38 +0200
committerAhmed AbdelHalim <[email protected]>2025-09-02 23:09:30 +0200
commitbffb91cd442b42a30ce47c8bfcefbaae029331fc (patch)
tree9fff273e850a85775f30c46dc8835e406275ca0b /roles/locales/tasks
parent95a925f7b32f05487848258de56a7acb1ee99705 (diff)
Add bash as a role and use it in role dependencies when bash is needed
Diffstat (limited to 'roles/locales/tasks')
-rw-r--r--roles/locales/tasks/main.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/roles/locales/tasks/main.yml b/roles/locales/tasks/main.yml
index cb8175bb..e87bf5fb 100644
--- a/roles/locales/tasks/main.yml
+++ b/roles/locales/tasks/main.yml
@@ -2,14 +2,11 @@
- name: "Include OS-specific variables"
ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
-- name: "Ensure locales dependencies are installed"
+- name: "Ensure locales package is installed"
become: true
ansible.builtin.package:
- name: "{{ item }}"
+ name: "{{ locales_pkg }}"
state: "present"
- with_items:
- - "{{ locales_pkg }}"
- - bash
- name: "Read locale.gen file"
ansible.builtin.slurp: