Initial commit
This commit is contained in:
commit
6384ac2152
6 changed files with 91 additions and 0 deletions
3
templates/custom.list.j2
Normal file
3
templates/custom.list.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% for dns_entry in local_dns_entries %}
|
||||
{{ dns_entry.ip4 }} {{ dns_entry.domain }}
|
||||
{% endfor %}
|
18
templates/setupVars.conf.j2
Normal file
18
templates/setupVars.conf.j2
Normal file
|
@ -0,0 +1,18 @@
|
|||
PIHOLE_INTERFACE=eth0
|
||||
IPV4_ADDRESS={{ query('community.general.dig', inventory_hostname, 'qtype=A') | first }}/24
|
||||
{# IPV6_ADDRESS={{ query('community.general.dig', inventory_hostname, 'qtype=AAAA') | first }} #}
|
||||
QUERY_LOGGING=true
|
||||
INSTALL_WEB_SERVER=true
|
||||
INSTALL_WEB_INTERFACE=true
|
||||
LIGHTTPD_ENABLED=true
|
||||
CACHE_SIZE=10000
|
||||
BLOCKING_ENABLED=true
|
||||
{# doesn't matter, password will be set using pihole cli later #}
|
||||
WEBPASSWORD=642da416d1acba139eb3514b7ef3318104937f4eeceb8b33663d46c23f56dbfa
|
||||
DNSMASQ_LISTENING=single
|
||||
PIHOLE_DNS_1=192.168.2.105#5335
|
||||
PIHOLE_DNS_2=208.67.222.220
|
||||
DNS_FQDN_REQUIRED=true
|
||||
DNS_BOGUS_PRIV=true
|
||||
DNSSEC=false
|
||||
REV_SERVER=false
|
Loading…
Add table
Add a link
Reference in a new issue