Hi,
I have a behavior that has existed since 2.5 (when the “update_only” attribute was added to the yum module) and still exists with 2.8.2:
When using the attribute “update_only” with the yum module, when it comes across a package that is not currently installed, the output incorrectly reports it as “changed”. When not in check mode and doing it for real, it correctly reports the same uninstalled package step with “ok:” (no change). It’s only in check mode that it doesn’t report correctly what it would do for real, so you get two different results for check mode vs. non-check mode. Is this a bug?
Thanks,
michael