From 1651a1e2696cfff3552470b7bb389bbc89755c3e Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Thu, 18 Aug 2022 00:22:54 +0200 Subject: [PATCH] Fixed typo. --- proxmoxve-ansible-python/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmoxve-ansible-python/__main__.py b/proxmoxve-ansible-python/__main__.py index 79b41ba..13dc43e 100644 --- a/proxmoxve-ansible-python/__main__.py +++ b/proxmoxve-ansible-python/__main__.py @@ -84,7 +84,7 @@ vm = proxmox.vm.VirtualMachine("vm", # Creating the inventory file inventory = command.local.Command("a-inventory", create = vm.ipv4_addresses[1][0].apply( - lambda ipaddr: f"echo '{vm_name} ansible_host={lanip} ansible_user={vm_username}' >./inventory" + lambda ipaddr: f"echo '{vm_name} ansible_host={ipaddr} ansible_user={vm_username}' >./inventory" ), delete = "rm -f ./inventory", opts = pulumi.ResourceOptions(depends_on = [ vm ])