diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-10-22 23:19:11 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-10-24 21:55:52 +0200 |
| commit | 80170d9fd0bbe3202c715d32dd1c1f540eb0cc25 (patch) | |
| tree | f8129dd61ac24913ed55584b19901403d288cfb2 /roles/gnome | |
| parent | 3bcf7bd2adb443b881365506dfa3348b0c465264 (diff) | |
Fix removing the packages the breaks ubuntu DNS
This disables install_recommends and revert to using specific gnome
packages that are needed/necessary for functioning
Diffstat (limited to 'roles/gnome')
| -rw-r--r-- | roles/gnome/tasks/install-debian.yml | 12 | ||||
| -rw-r--r-- | roles/gnome/vars/ubuntu.yml | 26 |
2 files changed, 35 insertions, 3 deletions
diff --git a/roles/gnome/tasks/install-debian.yml b/roles/gnome/tasks/install-debian.yml index c9e68552..55ed8836 100644 --- a/roles/gnome/tasks/install-debian.yml +++ b/roles/gnome/tasks/install-debian.yml @@ -4,18 +4,24 @@ ansible.builtin.apt: name: "{{ gnome_packages }}" state: "present" - install_recommends: true + install_recommends: false tags: + # NOTE: the gnome-core packages resinstalls the avahi packages + # Disabling the idemopotence test to prevent always reporting changed - molecule-idempotence-notest -- name: "Remove avahi-daemon installed by GNOME" +- name: "Remove avahi packages installed by GNOME to prevent conflict with MutlicastDNS" become: true ansible.builtin.apt: - name: "avahi-daemon" + name: + - "avahi-daemon" + - "avahi-utils" state: "absent" autoremove: true purge: true tags: + # NOTE: the gnome-core packages resinstalls the avahi packages + # Disabling the idemopotence test to prevent always reporting changed - molecule-idempotence-notest - name: "Enable GDM display manager" diff --git a/roles/gnome/vars/ubuntu.yml b/roles/gnome/vars/ubuntu.yml index 396a3e90..92552d28 100644 --- a/roles/gnome/vars/ubuntu.yml +++ b/roles/gnome/vars/ubuntu.yml @@ -1,7 +1,33 @@ --- gnome_packages: + # Core GNOME meta-package - "vanilla-gnome-desktop" - "vanilla-gnome-default-settings" - "gdm3" - "gnome-software" - "gnome-tweaks" + + # Web browser + - "firefox" + + # Office suite + - "libreoffice-calc" + - "libreoffice-writer" + - "libreoffice-impress" + - "libreoffice-gnome" + + # Media applications + - "rhythmbox" + - "totem" + - "cheese" + + # Utilities + - "file-roller" + - "gnome-calculator" + - "gnome-calendar" + - "gnome-characters" + - "simple-scan" + - "baobab" + + # Accessibility + - "orca" |
