Set hostname in pi-hole container
The hostname is reported in the pi-hole dashboard, this looks a bit nicer than a randomly generated id.
This commit is contained in:
parent
606a26a008
commit
77f20aad28
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@
|
|||
- 127.0.0.1:5053:53/tcp
|
||||
- 127.0.0.1:5053:53/udp
|
||||
- 127.0.0.1:8080:80
|
||||
hostname: "{{ ansible_facts['hostname'] }}" # Setting this will restart the container
|
||||
env:
|
||||
TZ: 'Europe/Amsterdam'
|
||||
WEBPASSWORD: "{{ pi_hole_web_password }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue