roles/hass-dhcp: Deploy DHCP server for HA
The *hass-dhcp* role installs dnsmasq and configures it to serve DHCP requests on the Home Assistant network. Since this network is not routed, the regular DHCP relay/server setup will not work.
This commit is contained in:
@@ -11,3 +11,12 @@
|
||||
service:
|
||||
name: httpd
|
||||
state: started
|
||||
|
||||
- hosts: home-assistant
|
||||
roles:
|
||||
- hass-dhcp
|
||||
tasks:
|
||||
- name: ensure dnsmasq is running
|
||||
service:
|
||||
name: dnsmasq
|
||||
state: started
|
||||
|
||||
Reference in New Issue
Block a user