summaryrefslogtreecommitdiffstats
path: root/roles/gettext/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-12-13 14:59:38 +0100
committerAhmed Abdelhalim <[email protected]>2025-12-13 14:59:38 +0100
commit19bd81e1da0ccfee68779a718b22df34e6cda40a (patch)
treeb75cd4235cae864fc99fcfbd17b0dd99226ba513 /roles/gettext/tasks
parent923ff1e6021e2746829fe0bc459f32179155f95f (diff)
Fix dotfiles error on debian with missing envsubst
Diffstat (limited to 'roles/gettext/tasks')
-rw-r--r--roles/gettext/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/gettext/tasks/main.yml b/roles/gettext/tasks/main.yml
new file mode 100644
index 00000000..1b3caa8f
--- /dev/null
+++ b/roles/gettext/tasks/main.yml
@@ -0,0 +1,9 @@
+---
+- name: "Include OS-specific variables"
+ ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
+
+- name: "Ensure envsubst is installed"
+ become: true
+ ansible.builtin.package:
+ name: "{{ gettext_package }}"
+ state: "present"