-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
easy_install fails to install pip with ok
#16519
Comments
@jayenashar Please add this task after the easy_install task and provide the -vvvv output ...
|
note: this should be moved to the ansible-modules-core repo per https://github.com/ansible/ansible/blob/devel/ticket_stubs/module_repo.md but i'm letting it stay here until we know which module is at fault. I suspect easy_install believes pip is installed but doesn't know it hasn't been put into a location that is part of $PATH. |
I had to use a different target host because I've already started using pip on the first one. pip is not installed anywhere on the target host.
|
I ran into the same thing. And got the same output as @jayenashar. After seeing the permission error, I added |
Hello @jayenashar @jctanner @thegreatjerboa The plugin never test the result command of the Feel free to test on your side. |
PR #19705 has been merged and cherry picked to stable-2.2 which should fix this problem. Closing ticket. |
ISSUE TYPE
ANSIBLE VERSION
I also tried this on 1.9.4 before upgrading.
CONFIGURATION
pipelining = True
OS / ENVIRONMENT
CentOS release 6.7 amd64 managing CentOS release 6.7 amd64
SUMMARY
tried to easy_install pip. kept saying "ok" even though it didn't seem to install it (and it wasn't installed). added
sudo: yes
to make it say "changed" (and pip was installed).STEPS TO REPRODUCE
The example playbook does not install pip and then the pip command fails.
Failed to find required executable pip
EXPECTED RESULTS
I expected easy_install to fail.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: