Looks like the method to determine RHEL releases is no longer reliable, it seems to be missing RHEL 9 and RHEL 9 beta release streams.
Related: https://pagure.io/fedora-infra/ansible/pull-request/2300
That PR was merged and deployed, and the script has been run so https://infrastructure.fedoraproject.org/repo/json/pkg_el9.json now exists. RHEL 9 is now part of the output of the tool.
root@f40-container:~# is-it-in-rhel bash bash is in RHEL 5; version: 3.2; archs: i386, ppc, x86_64 bash is in RHEL 6; version: 4.1.2; archs: i686, ppc64, x86_64 bash is in RHEL 7; version: 4.2.45; archs: ppc64le, x86_64 bash is in RHEL 8; version: 4.4.20; archs: aarch64, i686, ppc64le, s390x, x86_64 bash is in RHEL 8b; version: 4.4.19; arch: x86_64 bash is in RHEL 9; version: 5.1.8; archs: aarch64, ppc64le, s390x, x86_64
Can confirm, thanks!
Metadata Update from @decathorpe: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)