summaryrefslogtreecommitdiffstats
path: root/roles/gnome/tasks/main.yml
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-09-21 22:55:57 +0200
committerAhmed AbdelHalim <[email protected]>2025-09-21 22:55:57 +0200
commit563e3be63a96dda971a8ec5aee46731f22d0a45c (patch)
tree3f67d360750f4a6a66b174f7e521742bef78717a /roles/gnome/tasks/main.yml
parentd76ccd0db8d72c539ed70d02e37e74af7e259fd5 (diff)
Fix installing gnome on debian and arch
Instead of using ubuntu version which isn't great, I prefer using the minimal gnome
Diffstat (limited to 'roles/gnome/tasks/main.yml')
-rw-r--r--roles/gnome/tasks/main.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/roles/gnome/tasks/main.yml b/roles/gnome/tasks/main.yml
index 1767c80c..61562fd4 100644
--- a/roles/gnome/tasks/main.yml
+++ b/roles/gnome/tasks/main.yml
@@ -1,9 +1,6 @@
---
- name: "Include OS-specific variables"
- ansible.builtin.include_vars: "{{ ansible_distribution | lower }}.yml"
+ ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
-- name: "Install gnome packages"
- become: true
- ansible.builtin.package:
- name: "{{ gnome_packages }}"
- state: "present"
+- name: "Include OS-specific tasks"
+ ansible.builtin.include_tasks: "install-{{ ansible_os_family | lower }}.yml"