ansible provisioner

This commit is contained in:
Pim Kunis 2023-04-09 11:35:22 +02:00
parent 96154a0370
commit 416889fc0c
2 changed files with 7 additions and 1 deletions

1
debian/main.tf vendored
View file

@ -25,4 +25,5 @@ module "tf_debian_vm" {
memory = var.memory memory = var.memory
data_disk = var.data_disk data_disk = var.data_disk
fixed_address = var.fixed_address fixed_address = var.fixed_address
ansible_command = var.ansible_command
} }

7
debian/variables.tf vendored
View file

@ -58,6 +58,11 @@ variable "data_disk" {
} }
variable "fixed_address" { variable "fixed_address" {
type = string type = string
default = "" default = ""
} }
variable "ansible_command" {
type = string
default = "true"
}