homeserver/group_vars/pihole.yml
mg 9f0e771733 PiHole: Anpassungen für Homer (#77)
task pihole für homer cors

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#77
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-05-02 14:03:16 +02:00

23 lines
593 B
YAML

---
### oefenweb.ufw
ufw_rules:
- rule: allow
to_port: 22
protocol: tcp
comment: 'ssh'
from_ip: 192.168.2.0/24
- rule: allow
to_port: 80
comment: 'pihole-webgui'
from_ip: 192.168.2.0/24
- rule: allow
to_port: 53
comment: 'pihole-dns'
- rule: allow
to_port: 67
comment: 'pihole-dhcp'
- rule: allow
to_port: 68
comment: 'pihole-dhcp'
## playbook
pihole_homer_fqdn: docker.grote.lan # unter welchem host ist docker erreichbar? notwendig für die pihole stats in homer; fur die cors abfrage