add dnsmasq role

This commit is contained in:
Sergey Malyuk
2025-12-11 10:27:01 +03:00
parent 2902ab08b3
commit d8118cdd8c
19 changed files with 235 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
---
- name: Converge
hosts: all
roles:
- role: genlab.ufw
disable_ipv6: true
rules:
- rule: allow
# proto: udp
port: 5300
interface: lo
direction: in
comment: "Allow dnsmasq to serve DNS queries on the given interface"
- role: genlab.dnsmasq
iface: lo
domain: adm.local
dns_port: 5300
nodes:
- name: hub
ip: 127.0.0.1