Skip to content

Commit 504acff

Browse files
committed
Disable uninstall of resolvconf for Fedora 41
For some reason dnf5 uninstalls systemd-resolved when I attempt to uninstall resolvconf on Fedora 41. See #12 for more information.
1 parent 5535757 commit 504acff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tasks/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
name:
7070
- resolvconf
7171
state: absent
72+
# TODO: For some reason dnf5 uninstalls systemd-resolved when I run
73+
# this on Fedora 41. See #12 for more information.
74+
when: ansible_distribution != "Fedora" or ansible_distribution_major_version != "41"
7275

7376
- name: Create /etc/resolv.conf symlink
7477
ansible.builtin.file:

0 commit comments

Comments
 (0)