Skip to content

Commit 40a874a

Browse files
committed
Revert default pip executable, update README
1 parent 7742845 commit 40a874a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Python version, default is `2.7.9`.
2323

2424
### pip
2525

26-
`pip` execuable name, default is `pip-2.7`.
26+
`pip` execuable name, default is `pip2.7`.
2727

2828
### python
2929

@@ -56,4 +56,4 @@ MIT
5656
Author Information
5757
------------------
5858

59-
This role was created in 2016 by [Juwai Limited](http://www.juwai.com).
59+
This role was created in 2016 by [Juwai Limited](http://www.juwai.com).

defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ py_version: 2.7.9 # same as AWS
33

44
# executable names
55
executable_easy_install: easy_install-2.7
6-
executable_pip: pip-2.7
6+
executable_pip: pip2.7
77
executable_python: python2.7
88

99
# additional packages

tasks/centos6.yml

+1
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@
4545
easy_install: name=pip executable={{ executable_easy_install }}
4646
environment:
4747
PATH: /usr/local/bin:/usr/bin:{{ ansible_env.PATH }}
48+
when: pip_check|failed

0 commit comments

Comments
 (0)