forked from shaderecker/ansible-pihole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory.yaml
28 lines (28 loc) · 945 Bytes
/
inventory.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all:
hosts:
pihole-1:
ansible_host: 192.168.178.45
priority: 101
pihole-2:
ansible_host: 192.168.178.46
priority: 100
vars:
ansible_user: pi
ansible_password: raspberry # only used on first run
ansible_python_interpreter: /usr/bin/python3
github_user_for_ssh_key: shaderecker
timezone: "Europe/Berlin"
static_dns: "1.1.1.1"
docker_release: buster
pihole_image: "pihole/pihole:2022.01.1"
pihole_ftl_max_db_days: "180"
pihole_webpassword: Intranet # example value, change it and better use ansible-vault
pihole_dns: "1.1.1.1;2606:4700:4700::1111"
pihole_rev_server: "true"
pihole_rev_server_domain: "fritz.box"
pihole_rev_server_target: "192.168.178.1"
pihole_rev_server_cidr: "192.168.178.0/24"
pihole_ha_mode: yes
pihole_vip_ipv4: "192.168.178.10/24"
pihole_vip_ipv6: "fd00::10/64"
sync_target: "{{ pihole_vip_ipv4.split('/')[0] }}"