feat: initial installation role for pihole

This commit is contained in:
2026-05-24 17:13:35 +02:00
commit 348f780862
6 changed files with 128 additions and 0 deletions

10
defaults/main.yml Normal file
View File

@@ -0,0 +1,10 @@
---
pihole_interface: "{{ ansible_default_ipv4.interface }}"
pihole_ipv4_address: "{{ ansible_default_ipv4.address }}/{{ ansible_default_ipv4.prefix }}"
pihole_dns_1: 8.8.8.8
pihole_dns_2: 8.8.4.4
pihole_query_logging: "true"
pihole_install_web_server: "true"
pihole_install_web_interface: "true"
pihole_lighttpd_enabled: "true"
pihole_cache_size: 10000