From b91a26a869cf51c29e51a14a8e694ad2d0c68d4d Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Wed, 10 Dec 2025 23:19:15 -0500 Subject: [PATCH] semaphore ansible public key, config-mgmt instance --- main.tf | 9 +++++++++ modules/instance/variables.tf | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index a82ef49..524095f 100644 --- a/main.tf +++ b/main.tf @@ -20,3 +20,12 @@ module "cert-auth" { vpc_ipv4_addr = "10.0.10.2" instance_token = var.token } + +module "config-mgmt" { + source = "./modules/instance" + label = "config-mgmt" + root_pass = var.root_pass + vpc_subnet_id = module.main_vpc_subnet.vpc_subnet_id + vpc_ipv4_addr = "10.0.10.4" + instance_token = var.token +} diff --git a/modules/instance/variables.tf b/modules/instance/variables.tf index 2e1b894..c5f6005 100644 --- a/modules/instance/variables.tf +++ b/modules/instance/variables.tf @@ -37,5 +37,5 @@ variable "type" { variable "authorized_keys" { description = "SSH Keys to use for the Linode." type = list - default = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeRI1w3uNny7KjK2UdlAnyoGdGgtOx4isSD52u5dr4QkkdLRMj42dLjgT0MK+QehlgaH2XzFPMDz+hZQ+66YeBSm+F4km/8F9XVyUzGl0scUA1p0pqeL3FiyM3Art4Bo71zuE3PvMjyI3pGMKQ3VDWVA0XdAjjSw4G+czJTxZLLBPGvzDT07WuWM4Evl6H21Gn7PB6CKNV0vuUZwGiCsjRbghml1L2kDtTXV1B6wQsniuhQigIVo6YXhMgge/2UCcmiyeEizdfaSstrQHEyxFMvlPUJyw4a3plAuPORDyZdAFF6OA7/wP5fVWoCu/CkbMIDjPifXGQOuhQU1qUVy7r"] + default = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeRI1w3uNny7KjK2UdlAnyoGdGgtOx4isSD52u5dr4QkkdLRMj42dLjgT0MK+QehlgaH2XzFPMDz+hZQ+66YeBSm+F4km/8F9XVyUzGl0scUA1p0pqeL3FiyM3Art4Bo71zuE3PvMjyI3pGMKQ3VDWVA0XdAjjSw4G+czJTxZLLBPGvzDT07WuWM4Evl6H21Gn7PB6CKNV0vuUZwGiCsjRbghml1L2kDtTXV1B6wQsniuhQigIVo6YXhMgge/2UCcmiyeEizdfaSstrQHEyxFMvlPUJyw4a3plAuPORDyZdAFF6OA7/wP5fVWoCu/CkbMIDjPifXGQOuhQU1qUVy7r", "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqj47Co/8oshBtCQL5q/ZOPlmWOx+yXYsVNW70rEGDW"] }