From 08f372c6937bf49faa7f198fbfbb64eb3b86a51d Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Sun, 12 Jan 2025 14:41:43 +0000 Subject: [PATCH] chore(home-assistant): format job specification for consistency --- modules/home-assistant/jobspec.nomad.hcl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/home-assistant/jobspec.nomad.hcl b/modules/home-assistant/jobspec.nomad.hcl index c2f20e7..b55b280 100644 --- a/modules/home-assistant/jobspec.nomad.hcl +++ b/modules/home-assistant/jobspec.nomad.hcl @@ -11,9 +11,9 @@ job "homeassistant" { driver = "docker" config { - image = "ghcr.io/home-assistant/home-assistant:2025.1.2" + image = "ghcr.io/home-assistant/home-assistant:2025.1.2" network_mode = "host" - privileged = true + privileged = true volumes = [ "/etc/localtime:/etc/localtime:ro", @@ -22,7 +22,7 @@ job "homeassistant" { } volume_mount { - volume = "config" + volume = "config" destination = "/config" } @@ -33,11 +33,11 @@ job "homeassistant" { } volume "config" { - type = "csi" - read_only = false - source = "martinibar_prod_home-assistant_config" + type = "csi" + read_only = false + source = "martinibar_prod_home-assistant_config" attachment_mode = "file-system" - access_mode = "single-node-writer" + access_mode = "single-node-writer" } service {