Merge "Do not install pip in advance"

This commit is contained in:
Zuul 2023-11-15 19:57:18 +00:00 committed by Gerrit Code Review
commit 8fd432c4e9

View File

@ -47,19 +47,6 @@
when: when:
- ansible_os_family == 'RedHat' - ansible_os_family == 'RedHat'
- 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) - name: Install Ruby dependencies (Ubuntu)
apt: apt:
name: "{{ item }}" name: "{{ item }}"
@ -72,7 +59,6 @@
- libxslt-dev - libxslt-dev
- ruby-dev - ruby-dev
- zlib1g-dev - zlib1g-dev
- python3-pip
- name: Install Ruby dependencies (Debian) - name: Install Ruby dependencies (Debian)
apt: apt:
@ -87,4 +73,3 @@
- libxslt1-dev - libxslt1-dev
- ruby-dev - ruby-dev
- zlib1g-dev - zlib1g-dev
- python3-pip