r/base: Install python3-libdnf5

Fedora 41 uses _dnf5_ by default.  Being written in C, its Python API is
an optional feature that needs to be installed separately.
This commit is contained in:
2025-01-31 18:55:58 -06:00
parent ec4fa25bd8
commit cbc4d29bd6

View File

@@ -6,6 +6,13 @@
tags:
- always
- name: ensure python3-libdnf5 is installed
command:
dnf5 install -y python3-libdnf5
args:
creates: /usr/share/licenses/python3-libdnf5
when: ansible_pkg_mgr == 'dnf5'
- name: ensure selinux python bindings are installed
package:
name: '{{ selinux_python_libs }}'