add Final Infrastructure Setup

This commit is contained in:
Patryk Hegenberg 2026-03-29 13:45:10 +02:00
commit 7733dde658
174 changed files with 204949 additions and 0 deletions

View file

@ -0,0 +1,29 @@
- name: Kopiere Blackhole Script
template:
src: blackhole.sh.j2
dest: /usr/local/bin/blackhole.sh
mode: "0755"
- name: Deploye Systemd Service für Blackhole
copy:
dest: /etc/systemd/system/blackhole.service
content: |
[Unit]
Description=Thesis Blackhole Service (Cleanup)
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/blackhole.sh
Restart=always
User=root
[Install]
WantedBy=multi-user.target
- name: Starte Blackhole Service
systemd:
name: blackhole
state: started
enabled: yes
daemon_reload: yes