summaryrefslogtreecommitdiffstats
path: root/roles/gnome/tasks/install-debian.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-22 22:51:02 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-23 01:08:17 +0200
commit8bdd1b27b93c2519d211e5741878c4d653602eef (patch)
tree3f1ed54012912a684304269d207c4e6c6f1676fc /roles/gnome/tasks/install-debian.yml
parent30fd2a0ecc6ffa7aa9d742e329ca51b3cf116b83 (diff)
Fix gnome role idempotency test
Gnome installs avahi-daemon, and keeps reinstalling it Remove the ubuntu specific tasks and install the packages with recommendations (as we are removing the avahi-daemon afterwords to make the network manager stable and idempotent)
Diffstat (limited to 'roles/gnome/tasks/install-debian.yml')
-rw-r--r--roles/gnome/tasks/install-debian.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/roles/gnome/tasks/install-debian.yml b/roles/gnome/tasks/install-debian.yml
index f00a16c1..c9e68552 100644
--- a/roles/gnome/tasks/install-debian.yml
+++ b/roles/gnome/tasks/install-debian.yml
@@ -4,7 +4,19 @@
ansible.builtin.apt:
name: "{{ gnome_packages }}"
state: "present"
- install_recommends: false
+ install_recommends: true
+ tags:
+ - molecule-idempotence-notest
+
+- name: "Remove avahi-daemon installed by GNOME"
+ become: true
+ ansible.builtin.apt:
+ name: "avahi-daemon"
+ state: "absent"
+ autoremove: true
+ purge: true
+ tags:
+ - molecule-idempotence-notest
- name: "Enable GDM display manager"
become: true