This commit is contained in:
parent
2a466bbeca
commit
427241bf3e
@ -6,15 +6,6 @@
|
|||||||
state: present
|
state: present
|
||||||
loop: "{{ python3_packages_extra + python3_packages | default(__python3_packages) }}"
|
loop: "{{ python3_packages_extra + python3_packages | default(__python3_packages) }}"
|
||||||
|
|
||||||
- name: Check for installed pip3
|
|
||||||
stat:
|
|
||||||
path: /usr/local/bin/pip3
|
|
||||||
register: __python3_pip
|
|
||||||
|
|
||||||
- name: Setup pip3
|
|
||||||
command: /bin/python3.6 -m ensurepip
|
|
||||||
changed_when: not __python3_pip.stat.exists
|
|
||||||
|
|
||||||
- name: Link binaries to '{{ __python3_link_bin_path }}'
|
- name: Link binaries to '{{ __python3_link_bin_path }}'
|
||||||
file:
|
file:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
__python3_packages:
|
__python3_packages:
|
||||||
- python36
|
- python36
|
||||||
|
- python3-pip
|
||||||
__python3_link_bin_path: /usr/bin
|
__python3_link_bin_path: /usr/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user