Skip to content

Commit

Permalink
Disable uninstall of resolvconf for Fedora 41
Browse files Browse the repository at this point in the history
For some reason dnf5 uninstalls systemd-resolved when I attempt to
uninstall resolvconf on Fedora 41.  See #12 for more information.
  • Loading branch information
jsf9k committed Nov 27, 2024
1 parent 5535757 commit 504acff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
name:
- resolvconf
state: absent
# TODO: For some reason dnf5 uninstalls systemd-resolved when I run
# this on Fedora 41. See #12 for more information.
when: ansible_distribution != "Fedora" or ansible_distribution_major_version != "41"

- name: Create /etc/resolv.conf symlink
ansible.builtin.file:
Expand Down

0 comments on commit 504acff

Please sign in to comment.