From 427241bf3eb4cf1befc6a60d38794faf3c3dac4a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 Sep 2019 10:49:10 +0200 Subject: [PATCH] install pip3 from yum --- tasks/setup.yml | 9 --------- vars/main.yml | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/tasks/setup.yml b/tasks/setup.yml index de8c5bc..623a798 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -6,15 +6,6 @@ state: present 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 }}' file: src: "{{ item.src }}" diff --git a/vars/main.yml b/vars/main.yml index 19bbfed..12d7a8b 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,4 +1,5 @@ --- __python3_packages: - python36 + - python3-pip __python3_link_bin_path: /usr/bin