commit bca7be975a7170edbd6f7f58bd509bc1df8a6841
parent 6c4432daf1dffec83ffb8c4cd4745b27183fef3e
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Fri, 21 Jul 2023 07:59:20 +0200
feat: rearrange host fields
Diffstat:
5 files changed, 25 insertions(+), 20 deletions(-)
diff --git a/hosts/pi0.json b/hosts/pi0.json
@@ -1,15 +1,16 @@
 {
     "hostname": "pi0",
-    "authorized_keys": "",
     "img_name": "HashiPi-pi0.img",
     "flash_device_path": "/dev/sda",
-    "consul_server": "true",
-    "consul_encrypt": "",
     "consul_tls_ca": "./tls/consul/consul-agent-ca.pem",
     "consul_tls_certs": "./tls/consul/certs/",
     "consul_retry_join": "\"pi0.lan\", \"pi1.lan\", \"pi2.lan\", \"pi3.lan\", \"pi4.lan\"",
     "vault_transit_server": "",
     "vault_transit_token": "",
+    "consul_encrypt": "",
+    "consul_server": "true",
     "nomad_server": "true",
-    "nomad_client": "false"
+    "nomad_client": "false",
+    "username": "pi",
+    "authorized_keys": ""
 }
diff --git a/hosts/pi1.json b/hosts/pi1.json
@@ -1,15 +1,16 @@
 {
     "hostname": "pi1",
-    "authorized_keys": "",
     "img_name": "HashiPi-pi1.img",
     "flash_device_path": "/dev/sda",
-    "consul_server": "false",
-    "consul_encrypt": "",
     "consul_tls_ca": "./tls/consul/consul-agent-ca.pem",
     "consul_tls_certs": "./tls/consul/certs/",
     "consul_retry_join": "\"pi0.lan\", \"pi1.lan\", \"pi2.lan\", \"pi3.lan\", \"pi4.lan\"",
     "vault_transit_server": "",
     "vault_transit_token": "",
+    "consul_encrypt": "",
+    "consul_server": "false",
     "nomad_server": "false",
-    "nomad_client": "true"
+    "nomad_client": "true",
+    "username": "pi",
+    "authorized_keys": ""
 }
diff --git a/hosts/pi2.json b/hosts/pi2.json
@@ -1,15 +1,16 @@
 {
     "hostname": "pi2",
-    "authorized_keys": "",
     "img_name": "HashiPi-pi2.img",
     "flash_device_path": "/dev/sda",
-    "consul_server": "true",
-    "consul_encrypt": "",
     "consul_tls_ca": "./tls/consul/consul-agent-ca.pem",
     "consul_tls_certs": "./tls/consul/certs/",
     "consul_retry_join": "\"pi0.lan\", \"pi1.lan\", \"pi2.lan\", \"pi3.lan\", \"pi4.lan\"",
     "vault_transit_server": "",
     "vault_transit_token": "",
+    "consul_encrypt": "",
+    "consul_server": "true",
     "nomad_server": "true",
-    "nomad_client": "true"
+    "nomad_client": "true",
+    "username": "pi",
+    "authorized_keys": ""
 }
diff --git a/hosts/pi3.json b/hosts/pi3.json
@@ -1,15 +1,16 @@
 {
     "hostname": "pi3",
-    "authorized_keys": "",
     "img_name": "HashiPi-pi3.img",
     "flash_device_path": "/dev/sda",
-    "consul_server": "false",
-    "consul_encrypt": "",
     "consul_tls_ca": "./tls/consul/consul-agent-ca.pem",
     "consul_tls_certs": "./tls/consul/certs/",
     "consul_retry_join": "\"pi0.lan\", \"pi1.lan\", \"pi2.lan\", \"pi3.lan\", \"pi4.lan\"",
     "vault_transit_server": "",
     "vault_transit_token": "",
+    "consul_encrypt": "",
+    "consul_server": "false",
     "nomad_server": "false",
-    "nomad_client": "true"
+    "nomad_client": "true",
+    "username": "pi",
+    "authorized_keys": ""
 }
diff --git a/hosts/pi4.json b/hosts/pi4.json
@@ -1,15 +1,16 @@
 {
     "hostname": "pi4",
-    "authorized_keys": "",
     "img_name": "HashiPi-pi4.img",
     "flash_device_path": "/dev/sda",
-    "consul_server": "true",
-    "consul_encrypt": "",
     "consul_tls_ca": "./tls/consul/consul-agent-ca.pem",
     "consul_tls_certs": "./tls/consul/certs/",
     "consul_retry_join": "\"pi0.lan\", \"pi1.lan\", \"pi2.lan\", \"pi3.lan\", \"pi4.lan\"",
     "vault_transit_server": "",
     "vault_transit_token": "",
+    "consul_encrypt": "",
+    "consul_server": "true",
     "nomad_server": "true",
-    "nomad_client": "true"
+    "nomad_client": "true",
+    "username": "pi",
+    "authorized_keys": ""
 }