When the update_only parameter is set to yes with the yum module and state has set to latest. Shows the below output results while it does update the package to the latest version.
"All packages providing "<package_name>" are up to date",
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.