From e1b0d702c5bedbd96a77201feb83bbfb9675ab13 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Thu, 23 Oct 2025 07:41:14 +0000 Subject: [PATCH 1/4] Update secrets/proxmox.secrets.tfvars --- secrets/proxmox.secrets.tfvars | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/secrets/proxmox.secrets.tfvars b/secrets/proxmox.secrets.tfvars index 54150f3..87e3b73 100644 --- a/secrets/proxmox.secrets.tfvars +++ b/secrets/proxmox.secrets.tfvars @@ -1,6 +1,6 @@ -proxmox_server = "proxmox.example.com" -PM_API_TOKEN_ID = "tokenid" -PM_API_TOKEN_SECRET = "tokensecret" +#proxmox_server = "proxmox.example.com" +#PM_API_TOKEN_ID = "tokenid" +#PM_API_TOKEN_SECRET = "tokensecret" # tokenid is read automatically from PM_API_TOKEN_ID # token is read automatically from PM_API_TOKEN_SECRET @@ -20,6 +20,7 @@ proxmox_k8s_vms = [ vm_id = 3001 node_name = "node" ip = "192.168.1.99/24" + ip3 = "192.168.1.199/24" cores = 2 memory = 2000 disk_size = 32 @@ -33,13 +34,14 @@ proxmox_k8s_vms = [ } ] extra_packages = [] - extra_runcmd = [] + extra_runcmd = ["sudo ip addr add 192.168.1.199/24 dev eth0"] }, { name = "k8s-worker-01" vm_id = 3002 node_name = "node" ip = "192.168.1.101/24" + ip3 = "192.168.1.201/24" cores = 1 memory = 2000 disk_size = 32 @@ -53,6 +55,6 @@ proxmox_k8s_vms = [ } ] extra_packages = [] - extra_runcmd = [] + extra_runcmd = ["sudo ip addr add 192.168.1.201/24 dev eth0"] }, ] \ No newline at end of file From b875d6428bf0085a7fb830917ae533f518b3a438 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Thu, 23 Oct 2025 07:43:24 +0000 Subject: [PATCH 2/4] Add secrets/iac.proxmox.ssh.link --- secrets/iac.proxmox.ssh.link | 1 + 1 file changed, 1 insertion(+) create mode 100644 secrets/iac.proxmox.ssh.link diff --git a/secrets/iac.proxmox.ssh.link b/secrets/iac.proxmox.ssh.link new file mode 100644 index 0000000..0ef0db6 --- /dev/null +++ b/secrets/iac.proxmox.ssh.link @@ -0,0 +1 @@ +proxmox-ssh.example.com \ No newline at end of file From c7c1388112e9911e9b86d109bdf9a24d01fd9643 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Thu, 23 Oct 2025 07:44:00 +0000 Subject: [PATCH 3/4] Add secrets/iac.vaultwarden-link --- secrets/iac.vaultwarden-link | 1 + 1 file changed, 1 insertion(+) create mode 100644 secrets/iac.vaultwarden-link diff --git a/secrets/iac.vaultwarden-link b/secrets/iac.vaultwarden-link new file mode 100644 index 0000000..5a58fd7 --- /dev/null +++ b/secrets/iac.vaultwarden-link @@ -0,0 +1 @@ +https://vaultwarden.example.com \ No newline at end of file From a4b33a570b3069dceb1a5de53a3b6dbf0293c808 Mon Sep 17 00:00:00 2001 From: "tomas.limpinho" Date: Thu, 23 Oct 2025 08:50:34 +0100 Subject: [PATCH 4/4] secrets --- secrets-output/iac.ansible.hosts.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 secrets-output/iac.ansible.hosts.ini diff --git a/secrets-output/iac.ansible.hosts.ini b/secrets-output/iac.ansible.hosts.ini new file mode 100644 index 0000000..9f7ecdd --- /dev/null +++ b/secrets-output/iac.ansible.hosts.ini @@ -0,0 +1,13 @@ + +[master] +master1 ansible_host=192.168.1.99 ansible_user=user ansible_ssh_pass=pass ansible_ssh_common_args='-o StrictHostKeyChecking=no' + +[workers] + + +worker-192-168-1-101 ansible_host=192.168.1.101 ansible_user=user ansible_ssh_pass=pass ansible_ssh_common_args='-o StrictHostKeyChecking=no' + + + + +