role.prepare-dnf5/tasks/main.yml

7 lines
187 B
YAML
Raw Permalink Normal View History

2024-11-28 11:27:36 +00:00
---
- name: Install Python3-DNF5 if necessary
command:
cmd: dnf5 -y install python3-libdnf5
creates: /usr/lib*/python3.*/site-packages/libdnf5
when: ansible_pkg_mgr == "dnf5"