|
@@ -6,42 +6,41 @@
|
|
|
<meta name="viewport" content="width=600" />
|
|
<meta name="viewport" content="width=600" />
|
|
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
- table.blueTable {
|
|
|
|
|
|
|
+ table {
|
|
|
border: 1px solid #CCCCCC;
|
|
border: 1px solid #CCCCCC;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
}
|
|
}
|
|
|
- table.blueTable td, table.blueTable th {
|
|
|
|
|
|
|
+ table td, table th {
|
|
|
# padding: 3px 3px;
|
|
# padding: 3px 3px;
|
|
|
}
|
|
}
|
|
|
- table.blueTable tbody td {
|
|
|
|
|
|
|
+ table tbody td {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
color: #666666;
|
|
color: #666666;
|
|
|
}
|
|
}
|
|
|
- table.blueTable td:nth-child(even) {
|
|
|
|
|
|
|
+ table td:nth-child(even) {
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
|
}
|
|
}
|
|
|
- table.blueTable thead {
|
|
|
|
|
|
|
+ table thead {
|
|
|
background: #CFCFCF;
|
|
background: #CFCFCF;
|
|
|
border-bottom: 2px solid #444444;
|
|
border-bottom: 2px solid #444444;
|
|
|
}
|
|
}
|
|
|
- table.blueTable thead th {
|
|
|
|
|
|
|
+ table thead th {
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
color: #003399;
|
|
color: #003399;
|
|
|
}
|
|
}
|
|
|
- table.blueTable tfoot td {
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
- }
|
|
|
|
|
- table.blueTable tfoot .links {
|
|
|
|
|
- text-align: right;
|
|
|
|
|
|
|
+ table.header thead th {
|
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
|
+ } }
|
|
|
|
|
+ table.header tbody td {
|
|
|
|
|
+ background: #CFCFCF;
|
|
|
}
|
|
}
|
|
|
- table.blueTable tfoot .links a{
|
|
|
|
|
- display: inline-block;
|
|
|
|
|
- background: #1C6EA4;
|
|
|
|
|
- color: #FFFFFF;
|
|
|
|
|
- padding: 2px 8px;
|
|
|
|
|
- border-radius: 5px;
|
|
|
|
|
|
|
+ h1 {
|
|
|
|
|
+ font-size: 15pt;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color:#666666;
|
|
|
|
|
+ padding-left: 4px;
|
|
|
}
|
|
}
|
|
|
h2 {
|
|
h2 {
|
|
|
font-size: 10pt;
|
|
font-size: 10pt;
|
|
@@ -49,14 +48,36 @@
|
|
|
border-bottom: 1px solid #CCCCCC;
|
|
border-bottom: 1px solid #CCCCCC;
|
|
|
margin-top: 15px;
|
|
margin-top: 15px;
|
|
|
}
|
|
}
|
|
|
|
|
+ h1 {
|
|
|
|
|
+ font-size: 15pt;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color:#666666;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|
|
|
-
|
|
|
|
|
</head>
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
<body>
|
|
<body>
|
|
|
|
|
+ <table class="header">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th><h1>{{ ansible_distribution}} Update Message</h1></th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td>[U] {{ ansible_distribution}} Update Message # Installed updates on host {{ ansible_hostname }}</td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td>{{ ansible_date_time.iso8601 }}</td>
|
|
|
|
|
+ <td>{{ ansible_fqdn }}</td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<h2>Server Übersicht</h2>
|
|
<h2>Server Übersicht</h2>
|
|
|
- <table class="blueTable">
|
|
|
|
|
|
|
+ <table>
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th colspan="2">Host Informationen</th>
|
|
<th colspan="2">Host Informationen</th>
|
|
@@ -89,16 +110,54 @@
|
|
|
</table>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ <h2>Upgrade (Paketaktualisierung) durchführen</h2>
|
|
|
|
|
+ <table>
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th colspan="2">apt update && apt upgrade</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ {% for line in apt_upgrade.stdout_lines %}
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td># LOG:</td>
|
|
|
|
|
+ <td>{{ line }}</td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ {% endfor %}
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <h2>Veraltete heruntergeladene Archive löschen</h2>
|
|
|
|
|
+ <table>
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th colspan="2">apt autoclean</th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
|
|
+ <tbody>
|
|
|
|
|
+ {% for line in apt_autoclean.stdout_lines %}
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td># LOG:</td>
|
|
|
|
|
+ <td>{{ line }}</td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ {% endfor %}
|
|
|
|
|
+ </tbody>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </table>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
- <h2>neue Paketinformationen holen </h2>
|
|
|
|
|
- <table class="blueTable">
|
|
|
|
|
|
|
+ <h2>Prüfen laufender Prozesse</h2>
|
|
|
|
|
+ <table>
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
- <th colspan="2">apt-get update</th>
|
|
|
|
|
|
|
+ <th colspan="2">lsof +L1 -R</th>
|
|
|
</tr>
|
|
</tr>
|
|
|
</thead>
|
|
</thead>
|
|
|
<tbody>
|
|
<tbody>
|
|
|
- {% for line in apt_update.stdout_lines %}
|
|
|
|
|
|
|
+ {% for line in lsof.stdout_lines %}
|
|
|
<tr>
|
|
<tr>
|
|
|
<td># LOG:</td>
|
|
<td># LOG:</td>
|
|
|
<td>{{ line }}</td>
|
|
<td>{{ line }}</td>
|
|
@@ -108,5 +167,6 @@
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|