install pip3 from yum
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-09-20 10:49:10 +02:00
parent 2a466bbeca
commit 427241bf3e
2 changed files with 1 additions and 9 deletions

View File

@ -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 }}"

View File

@ -1,4 +1,5 @@
--- ---
__python3_packages: __python3_packages:
- python36 - python36
- python3-pip
__python3_link_bin_path: /usr/bin __python3_link_bin_path: /usr/bin