Home Assistant Ansible Role
This role is designed to be a full life cycle management solution for a Home Assistant PC. All of the components within this role are deployed via docker as containers with interconnection via internal docker networks. Access to services from outside of localhost is via an ingress network, which by default is limited to services Grafana, Home Assistant and Mosquitto.
By design this role deploys it's services to be in a state to be ready to have backups restored to it.
Features
-
Alerting ToDo
-
ToDo deadman checks for services. i.e. if a service stops producing data, an alert will be fired
-
ToDo Linked to Home Assistant
-
-
ToDo Backups (automated including recovery option on error)
-
Metrics, Telegraf
-
Docker daemon
-
MQTT Messages
-
-
MQTT Broker, Mosquitto
-
Storage
-
Metrics, InfluxDB
-
ToDo Home Assistant, MySQL/MariaDB
-
-
ToDo Updating (fully automated)
- ToDo Linked to Home Assistant
-
Visualization, Grafana
-
ToDo Dashboards Included:
-
ToDo Docker Stack
-
ToDo InfluxDB
-
ToDo MariaDB/MySQL
-
ToDo MQTT
-
ToDo Node Exporter
-
-
Using this role
This role is depenedent upon nfc_docker_management. To use this role, define variables to override any defaults to suit your needs and add nfc_homeassistant
role to your playbook.
When running the role you can limit scope by using ansible tags. the available tags are:
-
grafana
-
influxdb
Info
When you limit the scope, everything required to deploy that scope is included, even if it's from a different scope. i.e. if tag grafana
is used, when the data sources are deployed the InfluxDB tokens are fetched.
Role Default Variables
defaults/main.yaml | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
|
About:
This page forms part of our Project Role Home Assistant.
Page Metadata
Version: ToDo: place files short git commit hereDate Created: 2023-10-07
Date Edited: 2023-10-28
Contribution:
Would You like to contribute to our Role Home Assistant project? You can assist in the following ways:
- Edit This Page If there is a mistake or a way you can improve it.
- Add a Page to the Manual if you would like to add an item to our manual
- Raise an Issue if there is something about this page you would like to improve, and git is unfamiliar to you.
ToDo: Add the page list of contributors