From 6e8e19aa82f7db3fbea5d60709969e19dc9b162a Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 22 Jan 2026 21:48:13 +0100 Subject: Fix font implicit gnome dependency This separate the setup of fonts from the setting of fonts The role setup the fonts to be used The other dependant roles configure which font from there to be used This is more complicated but cleaner separation between each role responsibilities --- roles/gnome/meta/main.yml | 3 ++- roles/gnome/tasks/main.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'roles/gnome') diff --git a/roles/gnome/meta/main.yml b/roles/gnome/meta/main.yml index 7bf50bcb..248c5c50 100644 --- a/roles/gnome/meta/main.yml +++ b/roles/gnome/meta/main.yml @@ -1,5 +1,6 @@ --- -dependencies: [] +dependencies: + - role: "font" galaxy_info: author: "a14m" description: "Install gnome" diff --git a/roles/gnome/tasks/main.yml b/roles/gnome/tasks/main.yml index d1589e6b..5b9eee94 100644 --- a/roles/gnome/tasks/main.yml +++ b/roles/gnome/tasks/main.yml @@ -4,3 +4,8 @@ - name: "Include OS-specific tasks" ansible.builtin.include_tasks: "install-{{ ansible_os_family | lower }}.yml" + +- name: "Configure gnome font" + ansible.builtin.command: + cmd: 'gsettings set org.gnome.desktop.interface font-name "Noto Sans"' + changed_when: false -- cgit v1.2.3