This was resolved by correcting the virtual environment which was using Ansible 2.9.9 and not 2.8.5, etc. However, the issue still remains that for Rocky and Ansible 2.9+, the above error is exhibited and both the http documents and kolla-ansible prechecks (which verifies if Ansible is 2.4+) are incorrect and need to be corrected.
This was resolved by correcting the virtual environment which was using Ansible 2.9.9 and not 2.8.5, etc. However, the issue still remains that for Rocky and Ansible 2.9+, the above error is exhibited and both the http documents and kolla-ansible prechecks (which verifies if Ansible is 2.4+) are incorrect and need to be corrected.