Fixing some typos and dependencies.
This commit is contained in:
parent
6b6795c218
commit
fb0153cf67
@ -54,7 +54,7 @@ vm = proxmox.vm.VirtualMachine("vm",
|
|||||||
sockets = vm_sockets
|
sockets = vm_sockets
|
||||||
),
|
),
|
||||||
memory = proxmox.vm.VirtualMachineMemoryArgs(
|
memory = proxmox.vm.VirtualMachineMemoryArgs(
|
||||||
dedicated = mv_ram
|
dedicated = vm_ram
|
||||||
),
|
),
|
||||||
clone = proxmox.vm.VirtualMachineCloneArgs(
|
clone = proxmox.vm.VirtualMachineCloneArgs(
|
||||||
node_name = pve_nodename,
|
node_name = pve_nodename,
|
||||||
@ -105,7 +105,8 @@ with open('inventory', 'w') as f:
|
|||||||
|
|
||||||
# Applying the command
|
# Applying the command
|
||||||
execute_ansible = command.local.Command("ansible",
|
execute_ansible = command.local.Command("ansible",
|
||||||
create = f"ansible-playbook {ansible_playbook}"
|
create = f"ansible-playbook {ansible_playbook}",
|
||||||
|
opts = ResourceOptions(depends_on = [vm])
|
||||||
)
|
)
|
||||||
|
|
||||||
# Outputs
|
# Outputs
|
||||||
|
Loading…
Reference in New Issue
Block a user