There is some relevant documentation:
Ansible 2.9.20 does not have Rocky:ref:Linux in the hostname module file /usr/lib/python3.6/site-packages/ansible/modules/system/hostname.py. Updates have been committed to Ansible 2.9+ in PRs https://github.com/ansible/ansible/pull/74545 and https://github.com/ansible/ansible/issues/74565
Information about CentOS Stream:
Converting from CentOS Linux to CentOS Stream:
$ dnf swap centos-linux-repos centos-stream-repos $ dnf distro-sync
CentOS 8 (and the clones) has a new concept AppStream:
Content in the AppStream repository includes additional user space applications, runtime languages, and databases in support of the varied workloads and use cases. Content in AppStream is available in one of two formats - the familiar RPM format and an extension to the RPM format called modules.