For one thing, once my apt module pull request #2944 gets merged you can 
use « --check --diff » to see the list of packages to be upgraded.


On Thursday, February 11, 2016 at 8:10:56 PM UTC+1, Johannes Kastl wrote:
>
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1 
>
> Hi everyone, 
>
> is it possible to show all available updates on Debian/Ubuntu/... 
> via apt? Or rather, check if all updates have been installed without 
> errors? 
>
> Basically something like this (which does not work, I have not 
> tested why): 
>
> > --- 
> > 
> > - name: refresh cache 
> >  apt: update_cache=yes 
> > 
> > 
> > - name: Show all available updates become: true shell: apt-get 
> > upgrade -u | mail -s "Available Updates on $(hostname -f)" root 
>
> Thanks in advance! 
>
> Johannes 
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v2 
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ 
>
> iEYEARECAAYFAla83KcACgkQzi3gQ/xETbIqcwCgklsEpGA0ozVe9UbVA4B5T9Qa 
> Sn4AniOhuEnc90YjfGyxAFbgqLPPKWDq 
> =id1c 
> -----END PGP SIGNATURE----- 
>

-- 
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/360201ea-d88d-4bb8-8c33-1f68d4974b41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to