summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Kersten <tonk@master.tonkersten.com>2012-11-24 13:36:32 +0100
committerTon Kersten <tonk@master.tonkersten.com>2012-11-24 13:36:32 +0100
commitee4fe9ff55278a03aebd5d31fa448a59a10fd940 (patch)
treea998ae8bb7dea62b4db6e700464c63f028c249d4
parentac09b47ec4687bf66ba3c090c1251cf37f3b5b56 (diff)
downloadansible-ee4fe9ff55278a03aebd5d31fa448a59a10fd940.tar.gz
Added pip-python to the search for CentOS 6 compatibility
-rw-r--r--library/pip3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/pip b/library/pip
index 7ca62ca107..fe5823f1e5 100644
--- a/library/pip
+++ b/library/pip
@@ -137,6 +137,9 @@ def main():
pip = module.get_bin_path('python-pip', False, ['%s/bin' % env])
if not pip:
+ pip = module.get_bin_path('pip-python', True, ['%s/bin' % env])
+
+ if not pip:
pip = module.get_bin_path('pip', True, ['%s/bin' % env])
state = module.params['state']