diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-22 21:48:13 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-22 21:48:13 +0100 |
| commit | 6e8e19aa82f7db3fbea5d60709969e19dc9b162a (patch) | |
| tree | dfc7625692bdeda9a111053f423f52cb95e540f4 /roles/gnome | |
| parent | e845ccff69a4ffb8c3344578917fed00ad639ef4 (diff) | |
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
Diffstat (limited to 'roles/gnome')
| -rw-r--r-- | roles/gnome/meta/main.yml | 3 | ||||
| -rw-r--r-- | roles/gnome/tasks/main.yml | 5 |
2 files changed, 7 insertions, 1 deletions
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 |
