diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2012-11-24 08:30:56 -0800 |
---|---|---|
committer | Michael DeHaan <michael.dehaan@gmail.com> | 2012-11-24 08:30:56 -0800 |
commit | d5fb81fe0b605cb6b9c5ba631bcab906f12becae (patch) | |
tree | a3c7f0583afb1483f53756b17cdf5219aae1c68b | |
parent | 33196ec131abaa7b420de615c078d415cc6cd917 (diff) | |
parent | 7bba04b1766ee3074be49249c027312b3e5e141c (diff) | |
download | ansible-d5fb81fe0b605cb6b9c5ba631bcab906f12becae.tar.gz |
Merge pull request #1671 from tonk/devel
Added pip-python to the search for CentOS 6 compatibility
-rw-r--r-- | library/pip | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/pip b/library/pip index 7ca62ca107..1912967557 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', False, ['%s/bin' % env]) + + if not pip: pip = module.get_bin_path('pip', True, ['%s/bin' % env]) state = module.params['state'] |