mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Shortened service- to svc-
This commit is contained in:
6
roles/web-svc-legal/README.md
Normal file
6
roles/web-svc-legal/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Nginx Homepage Role
|
||||
|
||||
This Ansible role configures an Nginx server to serve a static homepage. It handles domain configuration, SSL certificate retrieval with Let's Encrypt.
|
||||
|
||||
## Author Information
|
||||
This role was created in 2023 by [Kevin Veen Birkenbach](https://www.veen.world/).
|
2
roles/web-svc-legal/meta/main.yml
Normal file
2
roles/web-svc-legal/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- web-svc-html
|
7
roles/web-svc-legal/tasks/main.yml
Normal file
7
roles/web-svc-legal/tasks/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: copy imprint.html
|
||||
template:
|
||||
src: "imprint.html.j2"
|
||||
dest: "{{nginx.directories.data.html}}imprint.html"
|
||||
owner: "{{nginx.user}}"
|
||||
group: "{{nginx.user}}"
|
46
roles/web-svc-legal/templates/imprint.html.j2
Normal file
46
roles/web-svc-legal/templates/imprint.html.j2
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ HOST_LL }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Imprint</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Imprint</h1>
|
||||
|
||||
<h2>Information in accordance with § 5 TMG</h2>
|
||||
<p>
|
||||
<strong>{{ service_provider.company.titel }}</strong><br>
|
||||
{{ service_provider.company.slogan }}<br>
|
||||
<br>
|
||||
<strong>Address:</strong><br>
|
||||
{{ service_provider.company.address.street }}<br>
|
||||
{{ service_provider.company.address.postal_code }} {{ service_provider.company.address.city }}<br>
|
||||
{{ service_provider.company.address.country }}
|
||||
</p>
|
||||
|
||||
<h2>Contact</h2>
|
||||
<p>
|
||||
Telephone: {{ service_provider.contact.phone }}<br>
|
||||
Email: <a href="mailto:{{ service_provider.contact.email }}">{{ service_provider.contact.email }}</a>
|
||||
</p>
|
||||
|
||||
<h2>Editorial Responsibility</h2>
|
||||
<p>
|
||||
{{ service_provider.legal.editorial_responsible }}
|
||||
</p>
|
||||
|
||||
<h2>Source Code</h2>
|
||||
<p>
|
||||
Code repository available at: <a href="{{ service_provider.legal.source_code }}">{{ service_provider.legal.source_code }}</a>
|
||||
</p>
|
||||
|
||||
<h2>Consumer Dispute Resolution / Universal Arbitration Board</h2>
|
||||
<p>
|
||||
Federal Universal Arbitration Board<br>
|
||||
Center for Arbitration e.V.<br>
|
||||
Straßburger Straße 8<br>
|
||||
77694 Kehl am Rhein
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
1
roles/web-svc-legal/vars/main.yml
Normal file
1
roles/web-svc-legal/vars/main.yml
Normal file
@@ -0,0 +1 @@
|
||||
application_id: "legal" # Application identifier
|
Reference in New Issue
Block a user