Skip to content

Re-enable removal of resolvconf on Fedora 41 #12

@jsf9k

Description

@jsf9k

🐛 Summary

In commit 504acff of #11 I disabled the installation of the resolvconf system package on Fedora 41 because, for some reason, ansible.builtin.package actually uninstalls systemd-resolved when it is run. I couldn't reproduce this manually using the dnf5 CLI.

We should figure out why this is happening and revert 504acff when possible.

To reproduce

  1. Revert 504acff.
  2. Watch the Molecule tests fail for Fedora 41.

Expected behavior

I would expect the removal of resolvconf to leave systemd-resolved untouched.

Any helpful log output or screenshots

TASK [ansible-role-systemd-resolved : Ensure resolvconf is not installed] ******
<snip>
changed: [fedora41-systemd-amd64] => {
    "changed": true,
    "invocation": {
        "module_args": {
            "allow_downgrade": false,
            "allowerasing": false,
            "autoremove": false,
            "best": null,
            "bugfix": false,
            "cacheonly": false,
            "conf_file": null,
            "disable_excludes": null,
            "disable_gpg_check": false,
            "disable_plugin": [],
            "disablerepo": [],
            "download_dir": null,
            "download_only": false,
            "enable_plugin": [],
            "enablerepo": [],
            "exclude": [],
            "install_repoquery": true,
            "install_weak_deps": true,
            "installroot": "/",
            "list": null,
            "lock_timeout": 30,
            "name": [
                "resolvconf"
            ],
            "nobest": null,
            "releasever": null,
            "security": false,
            "skip_broken": false,
            "sslverify": true,
            "state": "removed",
            "update_cache": false,
            "update_only": false,
            "validate_certs": true
        }
    },
    "msg": "",
    "rc": 0,
    "results": [
        "Removed: systemd-resolved-256.8-1.fc41.x86_64"
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue or pull request addresses broken functionality

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions