On 30 August 2017 at 09:09, Karl Fiabeschi <[email protected]> wrote:
>
> Hi there, is it possible with the yum or apt module to obtain a list of
> upgradable packages without upgrading them?
>
> Like the command "yum check-update" or "apt list --upgradable"


No.
Those modules are meant to ensure a specific package is in a specific state.
For what you want you have to resort to the command module and parse the output.


-- 
Dick Visser
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwN69NAocFvFy3fryrFVQoJqZAZdoPg_46GsQ46KUx3cJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to