add local resolver

This commit is contained in:
vincent 2020-07-05 15:13:22 +02:00
parent f872c13fb7
commit e229d4b6ba
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
state: stopped state: stopped
enabled: no enabled: no
failed_when: no failed_when: no
become: yes
- name: "Set the __docker_pihole_admin_password fact" - name: "Set the __docker_pihole_admin_password fact"
set_fact: set_fact:

View File

@ -1,5 +1,5 @@
# {{ ansible_managed }} # {{ ansible_managed }}
## local domain forwarder ## local domain forwarder
server=/local.lan/{{pihole_local_resolver}}
server=/{{pihole_local_domain}}/{{pihole_local_resolver}} server=/{{pihole_local_domain}}/{{pihole_local_resolver}}
server=/{{pihole_local_reverse_domain}}/{{pihole_local_resolver}} server=/{{pihole_local_reverse_domain}}/{{pihole_local_resolver}}