Fixed typo.
This commit is contained in:
parent
a9a712cada
commit
1651a1e269
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ vm = proxmox.vm.VirtualMachine("vm",
|
||||||
# Creating the inventory file
|
# Creating the inventory file
|
||||||
inventory = command.local.Command("a-inventory",
|
inventory = command.local.Command("a-inventory",
|
||||||
create = vm.ipv4_addresses[1][0].apply(
|
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",
|
delete = "rm -f ./inventory",
|
||||||
opts = pulumi.ResourceOptions(depends_on = [ vm ])
|
opts = pulumi.ResourceOptions(depends_on = [ vm ])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue