diff --git a/roles/terraform/files/libvirt_provider.tf b/roles/terraform/files/libvirt_provider.tf deleted file mode 100644 index 19e88d8..0000000 --- a/roles/terraform/files/libvirt_provider.tf +++ /dev/null @@ -1,3 +0,0 @@ -provider "libvirt" { - uri = "qemu+ssh://{{ libvirt_host }}/system?socket=/var/run/libvirt/libvirt-sock" -} \ No newline at end of file diff --git a/roles/terraform/files/libvirt_provider.tf.j2 b/roles/terraform/files/libvirt_provider.tf.j2 new file mode 100644 index 0000000..1209f1d --- /dev/null +++ b/roles/terraform/files/libvirt_provider.tf.j2 @@ -0,0 +1,3 @@ +provider "libvirt" { + uri = "qemu+ssh://[{{ libvirt_host }}]/system?socket=/var/run/libvirt/libvirt-sock" +}