diff options
Diffstat (limited to 'roles/pihole')
| -rw-r--r-- | roles/pihole/defaults/main.yml | 9 | ||||
| -rw-r--r-- | roles/pihole/meta/argument_specs.yml | 13 |
2 files changed, 14 insertions, 8 deletions
diff --git a/roles/pihole/defaults/main.yml b/roles/pihole/defaults/main.yml index 44744d98..7be113a4 100644 --- a/roles/pihole/defaults/main.yml +++ b/roles/pihole/defaults/main.yml @@ -2,9 +2,12 @@ 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 + # Cloudflare + - "1.1.1.1" + - "2606:4700:4700::1111" + # Google + - "8.8.8.8" + - "2001:4860:4860:0:0:0:0:8888" pihole_interface: "{{ ansible_default_ipv4.interface }}" pihole_dns_blocking_enabled: true pihole_dhcp_enabled: false diff --git a/roles/pihole/meta/argument_specs.yml b/roles/pihole/meta/argument_specs.yml index e7cf04e7..9af61251 100644 --- a/roles/pihole/meta/argument_specs.yml +++ b/roles/pihole/meta/argument_specs.yml @@ -15,9 +15,12 @@ argument_specs: description: "The list of DNS servers to use as upstreams" elements: "str" default: - - "9.9.9.9" # Quad9 - - "1.1.1.1" # Cloudflare - - "8.8.8.8" # Google + # Cloudflare + - "1.1.1.1" + - "2606:4700:4700::1111" + # Google + - "8.8.8.8" + - "2001:4860:4860:0:0:0:0:8888" pihole_interface: type: "str" description: "The interface to bind the pi-hole on" @@ -38,9 +41,9 @@ argument_specs: type: "str" description: "The dhcp end address" default: "{{ ansible_default_ipv4.network }}.199" - pihole_dhcp_address: + pihole_dhcp_router: type: "str" - description: "The dhcp server address (local pihole address)" + description: "The dhcp server router (gateway) address" default: "{{ ansible_default_ipv4.address }}" pihole_dhcp_lease_time: type: "int" |
