Prefer homelab_ip over asible_ssh_host for pihole config

parent cf31d4bc
......@@ -20,7 +20,7 @@ services:
environment:
- WEBPASSWORD={{ default_password }}
- VIRTUAL_HOST=pihole.{{ domain }}
- ServerIP={{ ansible_ssh_host }}
- ServerIP={{ homelab_ip }}
ports:
- 53:53/tcp
- 53:53/udp
......@@ -36,5 +36,5 @@ services:
- "traefik.tor.port=80"
extra_hosts:
{% for service in services %}
- {{ service }}.{{ domain }}:{{ ansible_ssh_host }}
{% endfor %}
\ No newline at end of file
- {{ service }}.{{ domain }}:{{ homelab_ip }}
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment