mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Pi-hole - Unattended install with default settings
This commit is contained in:
parent
dee9ffba3f
commit
50fe621d86
@ -76,4 +76,16 @@ https://github.com/pi-hole/pi-hole.git:
|
|||||||
- user: root
|
- user: root
|
||||||
- target: /root/pi-hole
|
- target: /root/pi-hole
|
||||||
|
|
||||||
|
/etc/pihole/setupVars.conf:
|
||||||
|
file.managed:
|
||||||
|
- source:
|
||||||
|
- salt://pihole/setupVars.conf
|
||||||
|
- user: root
|
||||||
|
- group: root
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
|
Pihole-setup:
|
||||||
|
cmd.run:
|
||||||
|
- name: '/root/pi-hole/automated\ install/basic-install.sh --unattended'
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
13
pihole/setupVars.conf
Normal file
13
pihole/setupVars.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
PIHOLE_INTERFACE=eth0
|
||||||
|
PIHOLE_DNS_1=9.9.9.9
|
||||||
|
PIHOLE_DNS_2=149.112.112.112
|
||||||
|
QUERY_LOGGING=true
|
||||||
|
INSTALL_WEB_SERVER=true
|
||||||
|
INSTALL_WEB_INTERFACE=true
|
||||||
|
LIGHTTPD_ENABLED=true
|
||||||
|
CACHE_SIZE=10000
|
||||||
|
DNS_FQDN_REQUIRED=true
|
||||||
|
DNS_BOGUS_PRIV=true
|
||||||
|
DNSMASQ_LISTENING=local
|
||||||
|
WEBPASSWORD=1832d74a8cd6d9b8cb0f9db646500f1ac9733d104ebbf9f9be157391fb051bfb
|
||||||
|
BLOCKING_ENABLED=true
|
Loading…
Reference in New Issue
Block a user