diff --git a/main.tf b/main.tf index f6a5775a6ae608db7c0177471bce43498c37ad09..4ef94a72667bd06e436aa1c77804d4c4cfb93489 100644 --- a/main.tf +++ b/main.tf @@ -96,7 +96,7 @@ resource "ansible_host" "hcloud-host" { inventory_hostname = "${hcloud_server.generic-hcloud.name}" groups = "${concat(var.ansible_groups, var.hcloud_ansible_groups)}" - vars { + vars = { ansible_user = "root" ansible_host = "${hcloud_server.generic-hcloud.ipv4_address}" wireguard_address = "${var.wireguard_address}"