r/hass-dhcp: Clean up DHCP/DNS service

The production deployment of *dnsmasq* for Home Assistant has deviated
from how the *hass-dhcp* role configures it.  Bringing the role back in
sync with how things really are.
This commit is contained in:
2021-07-24 18:33:15 -05:00
parent ceeb61cdb0
commit 5d7ebbaa05
5 changed files with 62 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
hass_net_cidr: >-
{{
(
ansible_facts[hass_interface].ipv4.network
+ '/'
+ ansible_facts[hass_interface].ipv4.netmask
)
| ipaddr('net')
}}