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