{{ ansible_distribution}} Update Message

[U] {{ ansible_distribution}} Update Message # Installed updates on host {{ ansible_hostname }}
{{ ansible_date_time.iso8601 }} {{ ansible_fqdn }}

Server Übersicht

Host Informationen
# Distribution: {{ ansible_distribution}} {{ansible_distribution_version}} ({{ ansible_distribution_release }})
# Vendor: {{ ansible_system_vendor }}
# FQDN: {{ ansible_fqdn }}
# Product: {{ ansible_product_name }}
# IP-Adressen: {{ ansible_eth0.ipv4.address }} ({{ ansible_eth0.device }})

Upgrade (Paketaktualisierung) durchführen

{% for line in apt_upgrade.stdout_lines %} {% endfor %}
apt update && apt upgrade
# LOG: {{ line }}

Veraltete heruntergeladene Archive löschen

{% for line in apt_autoclean.stdout_lines %} {% endfor %}
apt autoclean
# LOG: {{ line }}

Prüfen laufender Prozesse

{% for line in lsof.stdout_lines %} {% endfor %}
lsof +L1 -R
# LOG: {{ line }}