Ensure Pip3 is installed.

Use apt to install python3-pip, and use pip3 in event system has
both pip2 and pip3 installed.

Change-Id: I5a0eea3e06e2e9d135bb63cc35c3d281abd1ca10
This commit is contained in:
DODDA, PRATEEK REDDY (PD2839) 2020-06-29 22:00:14 -05:00 committed by Prateek Dodda
parent c2d924aed0
commit 70dfcae20a

View File

@ -24,6 +24,15 @@
name: systemd-resolved name: systemd-resolved
become: yes become: yes
- name: ensure pip3 is installed
apt:
name: "{{ item }}"
with_items:
- python3-pip
- python3-setuptools
when: ansible_os_family == 'Debian'
become: true
- name: Clone Required Repositories - name: Clone Required Repositories
shell: | shell: |
export CLONE_ARMADA={{ CLONE_ARMADA }} export CLONE_ARMADA={{ CLONE_ARMADA }}