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.
dynamic-inventory
Dustin 2025-01-31 18:55:58 -06:00
parent ec4fa25bd8
commit cbc4d29bd6
1 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,13 @@
tags: tags:
- always - 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 - name: ensure selinux python bindings are installed
package: package:
name: '{{ selinux_python_libs }}' name: '{{ selinux_python_libs }}'