roles/homeassistant: Deploy Home Assistant
This commit introduces a *homeassistant* role that installs and sets up Home Assistant using `pip`.
This commit is contained in:
10
roles/homeassistant/handlers/main.yml
Normal file
10
roles/homeassistant/handlers/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: reload systemd
|
||||
command: systemctl daemon-reload
|
||||
- name: restart homeassistant
|
||||
service:
|
||||
name: homeassistant
|
||||
state: restarted
|
||||
- name: restart httpd
|
||||
service:
|
||||
name: homeassistant
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user