From 23f639919b2181144418f52e46cefcda4d324186 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Aug 20 2025 08:25:59 +0000 Subject: check-for-arches-ng - ensure python3-rpm Since the use of F41 container as base system to run that playbook, the package needs to be installed for discover-arches.py script to run as expected. ``` Traceback (most recent call last): File "/tmp/discover-arches.py", line 1, in import rpm ModuleNotFoundError: No module named 'rpm' ``` --- diff --git a/playbooks/rpm/check-for-arches-ng.yaml b/playbooks/rpm/check-for-arches-ng.yaml index 295b030..f5e80ce 100644 --- a/playbooks/rpm/check-for-arches-ng.yaml +++ b/playbooks/rpm/check-for-arches-ng.yaml @@ -5,6 +5,11 @@ name: "*" state: latest + - name: Ensure python3-rpm package + ansible.builtin.dnf: + name: python3-rpm + state: latest + - name: Copy discover-arches script ansible.builtin.copy: src: files/discover-arches.py