summaryrefslogtreecommitdiffstats
path: root/roles
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
commita0a0c4d298336d6a3d569862247f291447c0ddcb (patch)
treeb0e9cc6b350ea0fbba11e96aaef8a1951598ff2e /roles
parent8a86f6068c287059e81aaeab1bde463fd054e88d (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
Diffstat (limited to 'roles')
-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