lxc with drone-runner on proxmox via opentofu and ansible
This commit is contained in:
44
tofu/variables.tf
Normal file
44
tofu/variables.tf
Normal file
@@ -0,0 +1,44 @@
|
||||
variable "proxmox_endpoint" {
|
||||
description = "Proxmox API URL"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "proxmox_password" {
|
||||
description = "Password for root@pam on Proxmox"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "node_name" {
|
||||
description = "Proxmox node name"
|
||||
type = string
|
||||
default = "pve"
|
||||
}
|
||||
|
||||
variable "drone_runner_id" {
|
||||
description = "VMID for the Drone Runner LXC"
|
||||
type = number
|
||||
default = 200
|
||||
}
|
||||
|
||||
variable "drone_runner_ip" {
|
||||
description = "Static IP in CIDR notation"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "gateway" {
|
||||
description = "Network gateway IP"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ssh_public_key_path" {
|
||||
description = "Path to SSH public key for LXC root access"
|
||||
type = string
|
||||
default = "~/.ssh/id_ed25519.pub"
|
||||
}
|
||||
|
||||
variable "drone_runner_password" {
|
||||
description = "Root password inside the LXC container"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
Reference in New Issue
Block a user