Made some infra changes, have to manually manage all previous terraform managed VMs

This commit is contained in:
Rolf Martin Glomsrud 2024-10-18 00:10:24 +02:00
parent b002862ee8
commit 49005a4088
5 changed files with 6 additions and 186 deletions

View file

@ -1,7 +1,7 @@
$ANSIBLE_VAULT;1.1;AES256
62653734626136323565653232376136656132393664346636616662313961383130376163393863
6138343664663637396535383436386530333861633265330a313961303432653931656466303463
65393034666638383831336339373064616136623930333262646563336131663839323936386165
6165616133633835360a653839636339303066653339616235666535316639613136376365613439
62613439616563643137653430663062323864363064356262316232393932643435343366636631
3132376130323138343464393730613230613562666237326235
30353231656462316431613932303434626565376362653831386138663233343635313139303633
6365613562643961663365336539323361316464313135610a363465646435313634393365613631
37626332366430343861656232386661633136663334393862313866323232636238363063373534
3932326664303535300a376235663132653564626161313130663732333561643463336538306530
31363463316136626361363332323566626435353363313530376231353862336530323265353738
6536346437653464373331653530386233663866386538373339

View file

@ -1,45 +0,0 @@
resource "proxmox_vm_qemu" "postres" {
name = "brevgress"
desc = "Database server"
target_node = "zeus"
agent = 1
onboot = true
clone = "VM 9000"
cores = 2
sockets = 1
cpu = "host"
memory = 2048
# Setup the disk
disks {
ide {
ide2 {
cloudinit {
storage = "basseng"
}
}
}
scsi {
scsi0 {
disk {
size = "10G"
storage = "basseng"
}
}
}
}
network {
bridge = "vmbr0"
model = "virtio"
}
scsihw = "virtio-scsi-pci"
os_type = "cloud-init"
ipconfig0 = "ip=192.168.1.70/24,gw=192.168.1.1"
nameserver = "192.168.1.69"
ciuser = "ansible"
sshkeys = var.ssh_public_key
}

View file

@ -1,45 +0,0 @@
resource "proxmox_vm_qemu" "havneboks" {
name = "havneboks"
desc = "Docker master"
target_node = "poseidon"
agent = 1
onboot = true
clone = "VM 9001"
cores = 4
sockets = 1
cpu = "host"
memory = 3096
# Setup the disk
disks {
ide {
ide2 {
cloudinit {
storage = "basseng"
}
}
}
scsi {
scsi0 {
disk {
size = "10G"
storage = "basseng"
}
}
}
}
network {
bridge = "vmbr0"
model = "virtio"
}
scsihw = "virtio-scsi-pci"
os_type = "cloud-init"
ipconfig0 = "ip=192.168.1.51/24,gw=192.168.1.1"
nameserver = "192.168.1.69"
ciuser = "ansible"
sshkeys = var.ssh_public_key
}

View file

@ -1,45 +0,0 @@
resource "proxmox_vm_qemu" "fabrikken" {
name = "fabrikken"
desc = "Factorio VM"
target_node = "hermes"
agent = 1
onboot = true
clone = "VM 9004"
cores = 4
sockets = 1
cpu = "host"
memory = 4096
# Setup the disk
disks {
ide {
ide2 {
cloudinit {
storage = "basseng"
}
}
}
scsi {
scsi0 {
disk {
size = "10G"
storage = "basseng"
}
}
}
}
network {
bridge = "vmbr0"
model = "virtio"
}
scsihw = "virtio-scsi-pci"
os_type = "cloud-init"
ipconfig0 = "ip=192.168.1.31/24,gw=192.168.1.1"
nameserver = "192.168.1.69"
ciuser = "ansible"
sshkeys = var.ssh_public_key
}

View file

@ -1,45 +0,0 @@
resource "proxmox_vm_qemu" "matmonster" {
name = "matmonster"
desc = "Feed the beast server"
target_node = "oceanus"
agent = 1
onboot = true
clone = "VM 9005"
cores = 4
sockets = 1
cpu = "host"
memory = 9024
# Setup the disk
disks {
ide {
ide2 {
cloudinit {
storage = "basseng"
}
}
}
scsi {
scsi0 {
disk {
size = "20G"
storage = "basseng"
}
}
}
}
network {
bridge = "vmbr0"
model = "virtio"
}
scsihw = "virtio-scsi-pci"
os_type = "cloud-init"
ipconfig0 = "ip=192.168.1.30/24,gw=192.168.1.1"
nameserver = "192.168.1.69"
ciuser = "ansible"
sshkeys = var.ssh_public_key
}