File tree 2 files changed +3
-12
lines changed
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ python_package_name: python
18
18
19
19
# Build defaults
20
20
python_build_from_source : false
21
- python_configure_prefix : ' /usr/local '
21
+ python_configure_prefix : ' /usr'
22
22
python_version : ' '
23
23
24
24
# Internals
25
25
python_major_version : " {{python_version[0]}}"
26
26
python_path : " {{python_configure_prefix}}/bin/python{{python_major_version}}"
27
- python_pip_path : " /usr/local/bin/pip{{python_major_version}}"
27
+ python_pip_prefix : ' /usr/local'
28
+ python_pip_path : " {{python_pip_prefix}}/bin/pip{{python_major_version}}"
28
29
python_tar_dir : " Python-{{python_version}}"
29
30
python_tar_url : " https://www.python.org/ftp/python/{{python_version}}/{{python_tar_dir}}.tgz"
30
31
python_dependencies :
Original file line number Diff line number Diff line change 23
23
- name : Set python_major_version
24
24
set_fact :
25
25
python_major_version : " {{python_version_output.stdout}}"
26
-
27
- - name : Get python location
28
- command : " which python{{python_major_version}}"
29
- check_mode : no
30
- register : python_location_output
31
- changed_when : False # This just polls the system for information and doesn't change system information
32
-
33
- - name : Set python_path
34
- set_fact :
35
- python_path : " {{python_location_output.stdout}}"
You can’t perform that action at this time.
0 commit comments