diff --git a/roles/pi-hole/tasks/main.yml b/roles/pi-hole/tasks/main.yml index 03751bc..133234c 100644 --- a/roles/pi-hole/tasks/main.yml +++ b/roles/pi-hole/tasks/main.yml @@ -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 }}"