Rolle: linux_updates - Mail wird nur geschickt wenn es auch Updates gab.
@@ -36,5 +36,5 @@
body: "{{ lookup('template', 'templates/mail_body.j2') }}"
subtype: html
delegate_to: localhost
- when: ansible_os_family == "Debian"
+ when: ansible_os_family == "Debian" and apt_upgrade.changed