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:
13
homeassistant.yml
Normal file
13
homeassistant.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- hosts: home-assistant
|
||||
roles:
|
||||
- apache
|
||||
- homeassistant
|
||||
tasks:
|
||||
- name: ensure homeassistant is running
|
||||
service:
|
||||
name: homeassistant
|
||||
state: started
|
||||
- name: ensure apache is running
|
||||
service:
|
||||
name: httpd
|
||||
state: started
|
||||
Reference in New Issue
Block a user