Add dependency on role "prepare-dnf5"

This commit is contained in:
Sven Velt 2025-03-26 17:38:08 +01:00
parent b1e009140e
commit fe5dd6a679
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,7 @@ Requirements
------------ ------------
- Role "epel" for RedHat-like systems - Role "epel" for RedHat-like systems
- Role "prepare-dnf5" for RedHat-like system with DNF version 5
Role Variables Role Variables
-------------- --------------
@ -56,4 +57,3 @@ Author Information
Sven Velt - <sven-ansiblerole@velt.biz> Sven Velt - <sven-ansiblerole@velt.biz>
https://git.velt.biz/velt.biz/ https://git.velt.biz/velt.biz/

View file

@ -3,3 +3,5 @@ dependencies:
- role: epel - role: epel
when: ansible_os_family == "RedHat" and ansible_distribution != "Fedora" when: ansible_os_family == "RedHat" and ansible_distribution != "Fedora"
- role: prepare-dnf5
when: ansible_pkg_mgr == "dnf5"