add virtual machine on lewis to swarm
This commit is contained in:
parent
056bfafcd5
commit
af2ee0a076
2 changed files with 17 additions and 0 deletions
|
@ -9,3 +9,5 @@ all:
|
||||||
hosts:
|
hosts:
|
||||||
bancomart:
|
bancomart:
|
||||||
ansible_host: bancomart.dmz
|
ansible_host: bancomart.dmz
|
||||||
|
handjecontantje:
|
||||||
|
ansible_host: handjecontantje.dmz
|
||||||
|
|
|
@ -24,6 +24,11 @@ provider "libvirt" {
|
||||||
uri = "qemu+ssh://root@jefke.hyp/system"
|
uri = "qemu+ssh://root@jefke.hyp/system"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
provider "libvirt" {
|
||||||
|
alias = "lewis"
|
||||||
|
uri = "qemu+ssh://root@lewis.hyp/system"
|
||||||
|
}
|
||||||
|
|
||||||
module "maestro" {
|
module "maestro" {
|
||||||
source = "git::https://git.kun.is/home/tf-modules.git//debian"
|
source = "git::https://git.kun.is/home/tf-modules.git//debian"
|
||||||
name = "maestro"
|
name = "maestro"
|
||||||
|
@ -44,3 +49,13 @@ module "bancomart" {
|
||||||
libvirt = libvirt.jefke
|
libvirt = libvirt.jefke
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "handjecontantje" {
|
||||||
|
source = "git::https://git.kun.is/home/tf-modules.git//debian"
|
||||||
|
name = "handjecontantje"
|
||||||
|
domain_name = "tf-handjecontantje"
|
||||||
|
memory = 3 * 1024
|
||||||
|
providers = {
|
||||||
|
libvirt = libvirt.lewis
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Reference in a new issue