How to compare RPM versions

I have never used this myself, but check out this thread here on the forum, it talks about modifying what the ansible output shows ==> Ansible Output Label <== maybe that can help display what you want.

Or, if that doesn’t work or is too complicated, you can always add some steps to read the /var/log/yum.log (or the corresponding log if not yum), and then echo to the screen/ansible log what was installed today.