From 01dd7ded4d25c64137a658d4825f3e62a15f0406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Schneider?= <56670304+soerenschneider@users.noreply.github.com> Date: Sat, 7 Sep 2024 08:48:34 +0200 Subject: [PATCH] update hosts file location --- envs/vserver-2.dd.soeren.cloud/.terraform.lock.hcl | 1 + envs/vserver-2.dd.soeren.cloud/tf_locals.tf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/envs/vserver-2.dd.soeren.cloud/.terraform.lock.hcl b/envs/vserver-2.dd.soeren.cloud/.terraform.lock.hcl index 560fa9c..92c07f1 100644 --- a/envs/vserver-2.dd.soeren.cloud/.terraform.lock.hcl +++ b/envs/vserver-2.dd.soeren.cloud/.terraform.lock.hcl @@ -6,6 +6,7 @@ provider "registry.opentofu.org/dmacvicar/libvirt" { constraints = "0.7.6" hashes = [ "h1:h5AOtaYpdnjPPtjKw2PsNmjZ9VmjnAgqXTndl3Mwwug=", + "h1:mmbm4vTyC/DCGO4Ed/vbp5AKvy1gmVn/94fzB9VmR08=", "zh:0bde54f6f658b20b620b875daf106b5b25b1bae4d15408d6c5f06d58360e254d", "zh:0c97c6930015918b8a34b6d7a2b0c3d17a649c226fcd1874fcba5bbbc0f35972", "zh:1bdd7aa0011c5f024a09a124836ee9bc8e71b05a6ece810c61824275fd3f695f", diff --git a/envs/vserver-2.dd.soeren.cloud/tf_locals.tf b/envs/vserver-2.dd.soeren.cloud/tf_locals.tf index 5e285b2..0defdaf 100644 --- a/envs/vserver-2.dd.soeren.cloud/tf_locals.tf +++ b/envs/vserver-2.dd.soeren.cloud/tf_locals.tf @@ -1,5 +1,5 @@ locals { - hosts_file = "~/src/gitlab/ansible/inventory/prod/group_vars/all/hosts.yml" + hosts_file = "~/src/github/ansible-inventory-prod/group_vars/all/hosts.yml" hosts_yaml = file(local.hosts_file) hosts_data = try(yamldecode(local.hosts_yaml), []) @@ -26,4 +26,4 @@ locals { mac_domains = { for domain, val in local.domains : domain => merge(val, { "mac" = lookup(val, "mac", null) != null ? val["mac"] : lookup(local.hosts_macs, domain, null) }) } -} \ No newline at end of file +}