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