summaryrefslogtreecommitdiffstats
path: root/roles/fonts/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-12-01 00:05:09 +0100
committerAhmed Abdelhalim <[email protected]>2025-12-01 00:05:09 +0100
commitc93d91e4a0b61d90d9c2de140f750419c1a33735 (patch)
treecfdc183b38f9cda85d66435d83dc879295325f63 /roles/fonts/tasks
parent4c2043dc1fa697c0cf2210d9466ff847b074cc34 (diff)
Add font configurations in a role
Diffstat (limited to 'roles/fonts/tasks')
-rw-r--r--roles/fonts/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/fonts/tasks/main.yml b/roles/fonts/tasks/main.yml
new file mode 100644
index 00000000..f2f0f72c
--- /dev/null
+++ b/roles/fonts/tasks/main.yml
@@ -0,0 +1,10 @@
+---
+- name: "Include OS-specific variables"
+ ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
+
+- name: "Ensure fonts are installed"
+ become: true
+ ansible.builtin.package:
+ name: "{{ item }}"
+ state: "present"
+ loop: "{{ fonts_default + fonts_extra }}"