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:
9
roles/hass-dhcp/vars/main.yml
Normal file
9
roles/hass-dhcp/vars/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
hass_net_cidr: >-
|
||||
{{
|
||||
(
|
||||
ansible_facts[hass_interface].ipv4.network
|
||||
+ '/'
|
||||
+ ansible_facts[hass_interface].ipv4.netmask
|
||||
)
|
||||
| ipaddr('net')
|
||||
}}
|
||||
Reference in New Issue
Block a user