summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-02-12 00:56:23 +0100
committerAhmed AbdelHalim <[email protected]>2026-02-12 01:39:26 +0100
commit5157868b173cb1c8a3fc87a551e78e09866f2300 (patch)
treeb0e9cc6b350ea0fbba11e96aaef8a1951598ff2e
parent02807f72e84c4523c2ce537c3cdbda404e689cc1 (diff)
Handle avahi removal in network role only
Since it can cause problems (following the archlinux wiki recommendations) we keep the handling of that in the network role and ignore idempotence testing failures in other roles too
-rw-r--r--roles/gnome/tasks/install-debian.yml14
-rw-r--r--roles/network/tasks/install-debian.yml5
2 files changed, 5 insertions, 14 deletions
diff --git a/roles/gnome/tasks/install-debian.yml b/roles/gnome/tasks/install-debian.yml
index 55ed8836..34369156 100644
--- a/roles/gnome/tasks/install-debian.yml
+++ b/roles/gnome/tasks/install-debian.yml
@@ -10,20 +10,6 @@
# Disabling the idemopotence test to prevent always reporting changed
- molecule-idempotence-notest
-- name: "Remove avahi packages installed by GNOME to prevent conflict with MutlicastDNS"
- become: true
- ansible.builtin.apt:
- 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"
become: true
ansible.builtin.systemd_service:
diff --git a/roles/network/tasks/install-debian.yml b/roles/network/tasks/install-debian.yml
index c5793bd1..7c4528cd 100644
--- a/roles/network/tasks/install-debian.yml
+++ b/roles/network/tasks/install-debian.yml
@@ -15,3 +15,8 @@
state: "absent"
autoremove: true
purge: true
+ tags:
+ # NOTE: the gnome-core packages resinstalls the avahi packages
+ # NOTE: the pipewire package reinstalls avahi packages
+ # Disabling the idemopotence test to prevent always reporting changed
+ - molecule-idempotence-notest