Installs and configures dnsmasq. It saves all configs as seperate files in /etc/dnsmasq.d
- Debian or Ubuntu (18.04 or newer)
dnsmasq_config: []
dnsmasq_systemd_resolved_disable: false
- hosts: localhost
roles:
- dnsmasq
vars:
dnsmasq_config:
- { name: "noname", content: "lala" }
- { name: "dhcp"
prio: "15"
content:|
long content
}
GPL-3.0
- Wolfgang Hotwagner
- Benjamin Akhras