CentOS: Ensure python3-pip is installed
The python3-pip package is required in several jobs(eg. cookiecutter). This change ensures the package is installed in CentOS. Change-Id: I4732a601cb55e55de0c460f7f94682f4f6fd760c
This commit is contained in:
parent
c7bf0520db
commit
799efc3b8e
@ -49,6 +49,19 @@
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution_major_version >= "9"
|
||||
|
||||
- block:
|
||||
- name: install required packages (CentOS)
|
||||
dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
become: true
|
||||
ignore_errors: true
|
||||
with_items:
|
||||
- python3-pip
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution == 'CentOS'
|
||||
|
||||
- name: Install Ruby dependencies (Ubuntu)
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user