Why Yum Module With "state:latest" & "update_only:yes" Shows Contradicting Output ?

Solution Verified - Updated -


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", 


Ansible 2.9.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content