i did that aswell still:
dnf downgrade ansible-core
Last metadata expiration check: 0:44:39 ago on Thu 27 Oct 2022 14:20:00 EEST.
Packages for argument ansible-core available, but not installed.
Error: No packages marked for downgrade.
Strange
This message should be printed when you don't have the package installed.
For example on my Fedora 36 system I have pcp-conf package that is not installed
$ sudo dnf downgrade pcp-conf
Last metadata expiration check: 0:07:36 ago on Thu 27 Oct 2022 02:19:55 PM CEST.
Packages for argument pcp-conf available, but not installed.
Error: No packages marked for downgrade.
While I can install it and I will have it at the latest version:
$ sudo dnf install pcp-conf
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Installing:
pcp-conf x86_64 6.0.0-1.fc36 updates 28 k
And then I can downgrade it, even if the lower version was not ever installed before on my system
$ sudo dnf downgrade pcp-conf
Last metadata expiration check: 0:01:24 ago on Thu 27 Oct 2022 02:19:55 PM CEST.
Dependencies resolved.
====================================================================================================
Package Architecture Version Repository Size
====================================================================================================
Downgrading:
pcp-conf x86_64 5.3.6-2.fc36 fedora 28 k
what you get with the command
rpm -qa | grep ansible
?