Yum Ansible Builtin module

I am creating repositories using the Yum built-in module. But it’s creating repos again and again though nothing changed and repos existed. how can I avoid that?

To get any resolution to your issue you would need to provide a better description of the problem by showing a minimal self-contained reproducer that we can just copy&paste, run and see the issue.