File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ py_version: 2.7.9 # same as AWS
3
3
4
4
# executable names
5
5
executable_easy_install : easy_install-2.7
6
- executable_pip : pip2 .7
6
+ executable_pip : pip-2 .7
7
7
executable_python : python2.7
8
8
9
9
# additional packages
Original file line number Diff line number Diff line change 15
15
environment :
16
16
PATH : /usr/local/bin:/usr/bin:{{ ansible_env.PATH }}
17
17
18
+ - name : try {{ executable_pip }}
19
+ command : " {{ executable_pip }} --version"
20
+ register : pip_check
21
+ ignore_errors : True
22
+ changed_when : False
23
+ environment :
24
+ PATH : /usr/local/bin:/usr/bin:{{ ansible_env.PATH }}
25
+
18
26
- include : aws.yml
19
27
when :
20
28
- ansible_distribution == 'Amazon'
21
- - python_check|failed
29
+ - python_check|failed or easy_install_check|failed or pip_check|failed
22
30
23
31
- include : centos6.yml
24
32
when :
25
33
- ansible_distribution != 'Amazon'
26
- - python_check|failed or easy_install_check|failed
34
+ - python_check|failed or easy_install_check|failed or pip_check|failed
27
35
28
36
- include : packages.yml
29
37
- include : ve.yml
You can’t perform that action at this time.
0 commit comments