Fixed typo.
This commit is contained in:
parent
a9a712cada
commit
1651a1e269
@ -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 ])
|
||||
|
Loading…
Reference in New Issue
Block a user