update libvirt container version. fix delay when 0 worker or 0 controler are configured
This commit is contained in:
parent
6fbedaa474
commit
12c7b511d9
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@
|
|||||||
|
|
||||||
base/images/*
|
base/images/*
|
||||||
!base/images/.gitkeep
|
!base/images/.gitkeep
|
||||||
|
.idea/
|
||||||
|
*.iml
|
||||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "docker-kvm-qemu-libvirt"]
|
[submodule "docker-kvm-qemu-libvirt"]
|
||||||
path = 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 @@
|
|||||||
Subproject commit ebd073a56c23ea79efd65426563182c92855725f
|
Subproject commit 63afcaabb8ec7e10fe641f59d4b324ccf35bc7a1
|
@ -34,6 +34,7 @@ provider "libvirt" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "null_resource" "delay_controllers_10s" {
|
resource "null_resource" "delay_controllers_10s" {
|
||||||
|
count = var.number_controller > 0 ? 1 : 0
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
command = "sleep 60"
|
command = "sleep 60"
|
||||||
}
|
}
|
||||||
@ -43,6 +44,7 @@ resource "null_resource" "delay_controllers_10s" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
resource "null_resource" "delay_workers_10s" {
|
resource "null_resource" "delay_workers_10s" {
|
||||||
|
count = var.number_worker > 0 ? 1 : 0
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
command = "sleep 60"
|
command = "sleep 60"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user