Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python version detection issues on Ubuntu 18.04 #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giner
Copy link

@giner giner commented Sep 9, 2020

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.

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.
@giner giner force-pushed the reliable_check_for_python_version branch from f2f0c00 to b2f746a Compare January 5, 2021 07:35
Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@github-actions github-actions bot added the stale label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant