CoffeeSprout / ansible-role-haproxy

Setup HAProxy
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Depending on py37-openssl doesn't work #13

Closed bvansomeren closed 2 years ago

bvansomeren commented 2 years ago

Running against the current quarterly we are getting the following error:

{"changed": false, "msg": "failed to install py37-openssl: ", "stderr": "pkg: No packages available to install matching 'py37-openssl' have been found in the repositories\n", "stderr_lines": ["pkg: No packages available to install matching 'py37-openssl' have been found in the repositories"]}

Because of flavours in ports / pkg there can be a py38-openssl or py39-openssl so depending on a single version is a recipe for pain.

I've found that the best way forward in FreeBSD seems to be to just install "python" which now defaults to python 3.8 and reference python dependencies by their full path. For example py*-openssl is also found under security/py-openssl which will default to the standard version at the time.