ansible-core 2.16+ detects ansible_pkg_mgr as 'dnf5' on systems where
dnf5 is the default package manager (Fedora 41+). The str-common-pkgs
role dynamically includes pkgs-{{ pkg_mgr }}.yml, which resolves to
pkgs-dnf5.yml — a file that does not exist.
Map 'dnf5' back to 'dnf' since pkgs-dnf.yml uses shell commands that
work identically with both dnf and dnf5.
ansible-core 2.16+ detects ansible_pkg_mgr as 'dnf5' on systems where
dnf5 is the default package manager (Fedora 41+). The str-common-pkgs
role dynamically includes pkgs-{{ pkg_mgr }}.yml, which resolves to
pkgs-dnf5.yml — a file that does not exist.
Map 'dnf5' back to 'dnf' since pkgs-dnf.yml uses shell commands that
work identically with both dnf and dnf5.
Assisted-by: Claude Code