Install python3-setuptools for oooci-build-images

Ansible pip module requires setuptools library to use it.
Hoever, oooci-build-images role doesn't install setuptools in it.
This patch ensures python3-setuptools is installed.

Closes-bug: #1902986
Change-Id: Id884b75719ca4c5326404e557e0aa14737ee8476
This commit is contained in:
Keigo Noha
2020-11-05 13:39:35 +09:00
parent 4e8c693d80
commit 984051686f

View File

@@ -48,6 +48,12 @@
command: bash {{ workspace }}/pathfix_repos.sh
changed_when: true
- name: Install python3-setuptools
package:
name: "python3-setuptools"
state: present
become: true
- name: Install deps from upper-constraints
when: ansible_distribution == 'CentOS'
pip: