CentOS repository patching

Hello,

I need help with setting up Centos client-server with centos repository URL. It should add a repository URL to the client-server and patch to the next available version identifying the existing os version.

I have created a role but the patching task gets failed because of no mirrors found. Any help here would be appreciated.

This sounds like the repo file template isn’t constructed properly.

Did you compare the resulting repo file with one that you know works on another server?

Thank you Dick for your reply. I was able to solve it when I added extra repo configuration in the centos.repo.j2 file. See below…