diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 21:50:28 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 23:28:42 +0200 |
| commit | 8f539a76effcfb794145905736106de9e7f6aa8d (patch) | |
| tree | 2538bb504082370f3d14da549b6a5e7e6f5ad487 /roles/pihole/defaults | |
| parent | bed8aaaeb0b63b2072fbd030d76f8f928432e7b8 (diff) | |
Add pihole role to configure raspberry pi
Diffstat (limited to 'roles/pihole/defaults')
| -rw-r--r-- | roles/pihole/defaults/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/pihole/defaults/main.yml b/roles/pihole/defaults/main.yml new file mode 100644 index 00000000..e5edf117 --- /dev/null +++ b/roles/pihole/defaults/main.yml @@ -0,0 +1,11 @@ +--- +pihole_password: "{{ ('changeme' | hash('sha256') | hash('sha256'))[:64] }}" +pihole_totp_secret: "CHANGEME" +pihole_dns: + - "9.9.9.9" # Quad9 + - "1.1.1.1" # Cloudflare + - "8.8.8.8" # Google +pihole_interface: "{{ ansible_default_ipv4.interface }}" +pihole_dns_blocking_enabled: true +pihole_dhcp_enabled: false +pihole_domain: "" |
