This completes the onboarding process and creates an admin/admin account.
group: "domotica"
mode: 0644
become: true
+ - name: install more homeassistant configuration
+ ansible.builtin.copy:
+ src: "templates/.storage"
+ dest: "/home/domotica/.homeassistant/.storage"
+ owner: "domotica"
+ group: "domotica"
+ mode: 0644
+ become: true
- name: start home assistant
community.general.sysrc:
name: homeassistant_enable
--- /dev/null
+{
+ "version": 1,
+ "minor_version": 1,
+ "key": "auth",
+ "data": {
+ "users": [
+ {
+ "id": "8711b0930d8247ceadaa48c121e54f68",
+ "group_ids": [
+ "system-read-only"
+ ],
+ "is_owner": false,
+ "is_active": true,
+ "name": "Home Assistant Content",
+ "system_generated": true,
+ "local_only": false
+ },
+ {
+ "id": "79286cb6126b40ad9b61aaf558e045f9",
+ "group_ids": [
+ "system-admin"
+ ],
+ "is_owner": true,
+ "is_active": true,
+ "name": "admin",
+ "system_generated": false,
+ "local_only": false
+ }
+ ],
+ "groups": [
+ {
+ "id": "system-admin",
+ "name": "Administrators"
+ },
+ {
+ "id": "system-users",
+ "name": "Users"
+ },
+ {
+ "id": "system-read-only",
+ "name": "Read Only"
+ }
+ ],
+ "credentials": [
+ {
+ "id": "40da50a03e9143b598d030d8ef002e75",
+ "user_id": "79286cb6126b40ad9b61aaf558e045f9",
+ "auth_provider_type": "homeassistant",
+ "auth_provider_id": null,
+ "data": {
+ "username": "admin"
+ }
+ }
+ ],
+ }
+}
--- /dev/null
+{
+ "version": 1,
+ "minor_version": 1,
+ "key": "auth_provider.homeassistant",
+ "data": {
+ "users": [
+ {
+ "username": "admin",
+ "password": "JDJiJDEyJC9uWldxRlVGLmNoUVBrSnU4cE51Ty44WUhwUEk2MFcybFB3YXkyR3NVaXp0VGs0OXFBWGRp"
+ }
+ ]
+ }
+}
\ No newline at end of file
--- /dev/null
+{
+ "version": 1,
+ "minor_version": 3,
+ "key": "core.config",
+ "data": {
+ "latitude": 50.8868449,
+ "longitude": 3.9699125,
+ "elevation": 0,
+ "unit_system_v2": "metric",
+ "location_name": "Home",
+ "time_zone": "Europe/Brussels",
+ "external_url": null,
+ "internal_url": null,
+ "currency": "EUR",
+ "country": "BE",
+ "language": "en-GB"
+ }
+}
\ No newline at end of file
--- /dev/null
+{
+ "version": 1,
+ "minor_version": 1,
+ "key": "http",
+ "data": {
+ "use_x_forwarded_for": true,
+ "trusted_proxies": [
+ "127.0.0.1"
+ ],
+ "ip_ban_enabled": true,
+ "login_attempts_threshold": 5,
+ "ssl_profile": "modern",
+ "cors_allowed_origins": [
+ "https://cast.home-assistant.io"
+ ],
+ "server_port": 8123,
+ "use_x_frame_options": true
+ }
+}
\ No newline at end of file
--- /dev/null
+{
+ "version": 1,
+ "minor_version": 1,
+ "key": "http.auth",
+ "data": {
+ "content_user": "8711b0930d8247ceadaa48c121e54f68"
+ }
+}
\ No newline at end of file
--- /dev/null
+{
+ "version": 4,
+ "minor_version": 1,
+ "key": "onboarding",
+ "data": {
+ "done": [
+ "user",
+ "core_config",
+ "analytics",
+ "integration"
+ ]
+ }
+}
\ No newline at end of file
--- /dev/null
+{
+ "version": 2,
+ "minor_version": 1,
+ "key": "person",
+ "data": {
+ "items": [
+ {
+ "id": "admin",
+ "name": "admin",
+ "user_id": "79286cb6126b40ad9b61aaf558e045f9",
+ "device_trackers": []
+ }
+ ]
+ }
+}
\ No newline at end of file