fix(ci): Correction problèmes outils et erreurs workflow
This commit is contained in:
parent
6bf15cfe3c
commit
830b7229db
5 changed files with 40 additions and 33 deletions
|
|
@ -7,7 +7,7 @@ terraform {
|
|||
version = "~> 3.0"
|
||||
}
|
||||
local = {
|
||||
source = "hashicorp/local"
|
||||
source = "hashicorp/local"
|
||||
version = "~> 2.1"
|
||||
}
|
||||
}
|
||||
|
|
@ -31,9 +31,9 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
memory = var.k3s_server_1_config.memory
|
||||
agent = 1
|
||||
|
||||
boot = "order=scsi0"
|
||||
scsihw = "virtio-scsi-single"
|
||||
onboot = true
|
||||
boot = "order=scsi0"
|
||||
scsihw = "virtio-scsi-single"
|
||||
onboot = true
|
||||
|
||||
network {
|
||||
model = "virtio"
|
||||
|
|
@ -44,20 +44,20 @@ resource "proxmox_vm_qemu" "k3s_server_1" {
|
|||
scsi {
|
||||
scsi0 {
|
||||
disk {
|
||||
size = var.k3s_server_1_config.disk_size
|
||||
storage = var.storage_pool
|
||||
size = var.k3s_server_1_config.disk_size
|
||||
storage = var.storage_pool
|
||||
iothread = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ipconfig0 = "ip=${var.k3s_server_1_config.ip},gw=${var.k3s_gateway}"
|
||||
cicustom = "user=${var.snippets_storage}:snippets/cloud-init-k3s-server-1.yaml"
|
||||
ipconfig0 = "ip=${var.k3s_server_1_config.ip},gw=${var.k3s_gateway}"
|
||||
cicustom = "user=${var.snippets_storage}:snippets/cloud-init-k3s-server-1.yaml"
|
||||
nameserver = join(" ", var.k3s_dns)
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [ network ]
|
||||
ignore_changes = [network]
|
||||
}
|
||||
|
||||
depends_on = [local_file.k3s_server_cloud_init]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue