No description
  • Jinja 76.4%
  • Shell 23.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kevin Heyer 82c9c25f63 Add MIT license [skip ci]
The repository is public but had no license, so no one was allowed to use it.
MIT, copyright iac contributors.. No build needed.
2026-11-17 07:08:20 +01:00
.forgejo/workflows Pin upstream version 0.107.79 and sync the template 2026-10-18 23:08:07 +02:00
.vibe Add the agent pointer for Mistral Vibe 2026-10-15 12:23:51 +02:00
docs Adopt existing AdGuard Home installations 2026-10-12 16:28:53 +02:00
files first commit 2026-10-12 15:52:03 +02:00
handlers first commit 2026-10-12 15:52:03 +02:00
tasks Hash the first admin password without apache2-utils 2026-11-13 00:26:41 +01:00
templates Complete the systemd sandbox of AdGuard Home 2026-10-13 15:28:46 +02:00
tests Hash the first admin password without apache2-utils 2026-11-13 00:26:41 +01:00
.clinerules add Worflow und Agent Rules. 2026-10-12 15:52:44 +02:00
.cursorrules add Worflow und Agent Rules. 2026-10-12 15:52:44 +02:00
.windsurfrules add Worflow und Agent Rules. 2026-10-12 15:52:44 +02:00
AGENTS.md Name pve.sh as the only host management in AGENTS.md 2026-10-27 15:01:37 +01:00
CHANGELOG.md Hash the first admin password without apache2-utils 2026-11-13 00:26:41 +01:00
CLAUDE.md first commit 2026-10-12 15:52:03 +02:00
GEMINI.md first commit 2026-10-12 15:52:03 +02:00
iac.json Update AdguardTeam/AdGuardHome to v0.107.80 2026-11-06 13:43:13 +00:00
LICENSE Add MIT license [skip ci] 2026-11-17 07:08:20 +01:00
README.md Adopt existing AdGuard Home installations 2026-10-12 16:28:53 +02:00

iac-adguard

AdGuard Home für Debian 13 auf Proxmox VE, als LXC oder VM. Das Repository ist eine Ansible-Rolle für iac-core v2.

Installation

Auf einer Proxmox-Node:

bash -c "$(curl -fsSL https://iac.heyer.systems/adguard/ct.sh)"  # LXC
bash -c "$(curl -fsSL https://iac.heyer.systems/adguard/vm.sh)"  # VM

Nach der Installation ist die Weboberfläche unter http://<IP>:3000/ erreichbar. Benutzername: admin. Das initiale Passwort steht im Gast in /etc/iac/settings.env:

grep '^adguard_admin_password=' /etc/iac/settings.env

DNS ist unter <IP>:53 über TCP und UDP erreichbar. Firewall-Regeln beschränken DNS und die Weboberfläche auf private Netze.

Bestehende Installation übernehmen

Im Gast mit der vorhandenen AdGuard-Home-Installation (als root):

bash -c "$(curl -fsSL https://iac.heyer.systems/adguard/adopt.sh)"

Übernommen wird das Layout des offiziellen Install-Skripts (/opt/AdGuardHome). adopt.sh prüft zuerst ohne Änderung, fragt nach, sichert nach /var/backups/iac/ und verschiebt dann Konfiguration und Daten ins iac-Layout. Deine Logins und Einstellungen bleiben erhalten. Was nicht automatisch geht (DHCP, Verschlüsselung, andere Ports, andere Pfade): docs/MIGRATION.md.

Konfiguration und Updates

  • AdGuard Home wird aus dem offiziellen GitHub-Release installiert; der Download wird gegen checksums.txt geprüft.
  • iac_version von iac-core bestimmt installierte und Zielversion.
  • Standard-Upstream ist Quad9 per DNS-over-HTTPS (https://dns.quad9.net/dns-query); die Bootstrap-Auflösung verwendet 9.9.9.9 und 149.112.112.112.
  • Die initiale Konfiguration wird nur angelegt, wenn noch keine vorhanden ist. Änderungen, die AdGuard später an /etc/AdGuardHome/AdGuardHome.yaml vornimmt, werden bei Updates nicht überschrieben.
  • Laufzeitdaten liegen in /var/lib/adguardhome.
  • DNS-Port 53 muss frei sein. Prüfe bei Problemen insbesondere systemd-resolved oder andere DNS-Dienste.

Im Gast aktualisieren:

update
bash /var/lib/iac/src/core/bin/iac-smoke

Entwicklung und Tests

iac-core/tools/lint.sh iac-adguard
iac-core/tools/dev-container.sh iac-adguard
iac-core/tools/dev-container.sh iac-adguard  # Idempotenz / Update-Pfad prüfen

Der Dev-Container- und VM-Test müssen vor einer produktiven Veröffentlichung erfolgreich durchlaufen werden.