ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit 45b851781f327bd0b936b6e59039e66175ee3cfb
parent f44caefa0a5bc9df25d1037a0ce12bff7466d301
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Mon, 17 Oct 2022 01:15:43 +0300

oricono: Init VM for red teaming platform

Diffstat:
terraform/infrastructure/oricono/main.tf | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/terraform/infrastructure/oricono/main.tf b/terraform/infrastructure/oricono/main.tf @@ -149,3 +149,24 @@ module "tails_live" { enable_graphics = true host_autostart = false } + +module "red_team_oricono" { + source = "../../modules/libvirt_host" + + host_name = "red_team_oricono" + host_memory = "2048" + host_vcpu = 2 + storage_pool = var.libvirt_storage_pool + volume_name = "red_team_oricono" + base_volume_id = libvirt_volume.base_debian_11_volume.id + disks = [{ "volume_id" : libvirt_volume.base_debian_11_volume.id }] + network_id = module.ori_network.id + network_cidr = module.ori_network.cidr[0] + network_host = "3" + enable_cloud_init = true + cloudinit_user_template = <<EOF + host_autostart = false +runcmd: + - echo 'source /etc/network/interfaces.d/*' > /etc/network/interfaces +EOF +}