Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix python version detection issues on Ubuntu 18.04
ansible_python_interpreter is empty unless it is set explicitly therefore it is not reliable way of knowing which version of python is used on remote host. Using binary name to know the version is not reliable either. Fixing by using ansible_python.version.major provided by ansible.
- Loading branch information