Closed issue by jhe2 on void-packages repository https://github.com/void-linux/void-packages/issues/47483 Description: ### Is this a new report? Yes ### System Info Void 6.5.11_1 x86_64 AuthenticAMD uptodate rrmFFFFFFFFFF ### Package(s) Affected ansible-8.0.0_2 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? _No response_ ### Expected behaviour When using the Ansible `get_url` module, the module should fetch the resource at the specified URL. ### Actual behaviour Instead of fetching the URL, it fails with an error message: "An unknown error occurred: HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'". The `cert_file` argument to `http.client.HTTPSConnection` was dropped in Python 3.12. The problem could possibly be caused by an outdated version of `python3-urllib`, which is used by the `get_url` module. ### Steps to reproduce With Ansible installed, try using the `get_url` module, e.g. ``` ansible -i inventory -m get_url -a '{ "dest": "/tmp", "url": "https://duck.com/"}' localhost ``` This results in the following error: ``` localhost | FAILED! => { "changed": false, "dest": "/tmp", "elapsed": 0, "gid": 0, "group": "root", "mode": "01777", "msg": "An unknown error occurred: HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'", "owner": "root", "size": 320, "state": "directory", "uid": 0, "url": "https://duck.com/" } ```