From d096103e2b1685db74c0b4e9088561e4ad3b6773 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <radoslaw.piliszek@gmail.com>
Date: Tue, 13 Sep 2022 09:36:16 +0000
Subject: [PATCH] [CI] Do not install wheel

We do not need to build wheels here.

Change-Id: I1e3641f83a16cdc367c2643d643076a25034ffe4
---
 tests/pre.yml | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/tests/pre.yml b/tests/pre.yml
index f3d6092c8b..aba2cff360 100644
--- a/tests/pre.yml
+++ b/tests/pre.yml
@@ -41,27 +41,13 @@
   tasks:
     # NOTE(yoctozepto): we use gawk to add time to each logged line
     # outside of Ansible (e.g. for init-runonce)
-    - name: Install gawk and Python modules (Debian/Ubuntu)
-      apt:
+    - name: Install gawk and required Python modules
+      become: true
+      package:
         name:
           - gawk
           - python3-pip
           - python3-setuptools
-          - python3-wheel
-      become: true
-      when: ansible_facts.os_family == 'Debian'
-
-    # NOTE(mnasiadka): python3-wheel is in crb repo for EL9
-    - name: Install gawk and Python modules (RedHat)
-      dnf:
-        enablerepo: "crb"
-        name:
-          - gawk
-          - python3-pip
-          - python3-setuptools
-          - python3-wheel
-      become: true
-      when: ansible_facts.os_family == 'RedHat'
 
     - name: Ensure /tmp/logs/ dir
       file: