ansible-cmdb icon indicating copy to clipboard operation
ansible-cmdb copied to clipboard

use python version define in PY_BIN if it exists

Open hoexter opened this issue 6 years ago • 1 comments

Check if we've an executable file provided in an env var called PY_BIN. If that's the case make it the first choice for the validation of the python version requirements. As a fallback populate the list of python options to try with all python and python3 versions we can find in the PATH of the environment.

hoexter avatar Sep 25 '19 08:09 hoexter

Hi @fboender, this is my somewhat naive approach to tackle the issue described in #189. Variable names are kind of arbitrarily chosen.

hoexter avatar Sep 25 '19 08:09 hoexter