ansible-cmdb
ansible-cmdb copied to clipboard
Fix python binary lookup on debian bullseye (11)
On debian bullseye (now stable), the /usr/bin/python
symlink is intentionally removed (see the note). With this change, the wrapper detects python3
, python2
and python
symlinks in this order.
The error that lead me to this was (added so that searches on github will find this PR):
No suitable python version found (v2.7 or higher required). Aborting
Thanks for the pull request, saved my day under MacOS.