This commit is contained in:
jonnybravo
2026-09-14 11:36:01 +02:00
commit dfb7279a8c
21 changed files with 1464 additions and 0 deletions
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>{{ app_name }}</title>
</head>
<body>
<h1>{{ app_name }}</h1>
<p>Betriebssystem: {{ ansible_distribution }} {{ ansible_distribution_version }}</p>
<p>Installierte Pakete:</p>
<ul>
{% for pkg in packages %}
<li>{{ pkg | upper }}</li>
{% endfor %}
</ul>
<p>Port: {{ nginx_port }}</p>
</body>
</html>
@@ -0,0 +1,21 @@
# {{ ansible_managed }} <- von Ansible erzeugt, nicht manuell ändern!
user {{ nginx_user }};
worker_processes auto;
events {
worker_connections 1024;
}
http {
server {
listen {{ nginx_port }};
server_name {{ domain }};
root {{ web_root }};
index index.html;
# Fact des Zielsystems wird hier aufgelöst:
access_log /var/log/nginx/{{ ansible_hostname }}.access.log;
}
}