Browse Source

update libvirt container version. fix delay when 0 worker or 0 controler are configured

master
RouxAntoine 5 months ago
parent
commit
12c7b511d9
Signed by: antoine <antoinroux@hotmail.fr> GPG Key ID: 098FB66FC0475E70
4 changed files with 6 additions and 2 deletions
  1. +2
    -0
      .gitignore
  2. +1
    -1
      .gitmodules
  3. +1
    -1
      docker-kvm-qemu-libvirt
  4. +2
    -0
      stack/libvirtd.tf

+ 2
- 0
.gitignore View File

@@ -3,3 +3,5 @@

base/images/*
!base/images/.gitkeep
.idea/
*.iml

+ 1
- 1
.gitmodules View File

@@ -1,3 +1,3 @@
[submodule "docker-kvm-qemu-libvirt"]
path = docker-kvm-qemu-libvirt
url = gitolite@antoine-roux.ml:projects/container/docker-kvm-qemu-libvirt.git
url = gitolite@antoine-roux.ml:container/docker-kvm-qemu-libvirt.git

+ 1
- 1
docker-kvm-qemu-libvirt

@@ -1 +1 @@
Subproject commit ebd073a56c23ea79efd65426563182c92855725f
Subproject commit 63afcaabb8ec7e10fe641f59d4b324ccf35bc7a1

+ 2
- 0
stack/libvirtd.tf View File

@@ -34,6 +34,7 @@ provider "libvirt" {
}

resource "null_resource" "delay_controllers_10s" {
count = var.number_controller > 0 ? 1 : 0
provisioner "local-exec" {
command = "sleep 60"
}
@@ -43,6 +44,7 @@ resource "null_resource" "delay_controllers_10s" {
}
}
resource "null_resource" "delay_workers_10s" {
count = var.number_worker > 0 ? 1 : 0
provisioner "local-exec" {
command = "sleep 60"
}


Loading…
Cancel
Save