ansible-debops-infrastructure

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

commit 3d4c706f6570b73eafd90b7cce02c6ee371ed0fb
parent 7d4582bd6311b3c9931187f3c7f53f39157a902c
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Tue, 29 Oct 2019 00:52:29 +0200

libvirt_host: Add volume pool for CloudInit vol

Diffstat:
terraform/modules/libvirt_host/main.tf | 1+
terraform/modules/libvirt_host/vars.tf | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/terraform/modules/libvirt_host/main.tf b/terraform/modules/libvirt_host/main.tf @@ -21,6 +21,7 @@ resource "libvirt_cloudinit_disk" "cloud_init" { count = (var.cloudinit_template != "" ? 1 : 0) name = "cloud-init-${random_pet.random[0].id}.iso" user_data = data.template_file.user_data[count.index].rendered + pool = var.storage_pool } resource "libvirt_domain" "libvirt_host" { diff --git a/terraform/modules/libvirt_host/vars.tf b/terraform/modules/libvirt_host/vars.tf @@ -33,6 +33,7 @@ variable "host_autostart" { variable "storage_pool" { type = string + default = "default" } variable "volume_name" {