Do you have a link to the lab please?
The CA Certificates need updating on the host. This is a bug in the lab which I will raise with the team. For now you can run this before running ansible-galaxy
:
sudo yum install ca-certificates
The lab has been updated to say use the --ignore-certs
flag.