Fixing some typos and dependencies.

This commit is contained in:
Emiliano Vavassori 2022-08-17 21:42:12 +02:00
parent 6b6795c218
commit fb0153cf67

View File

@ -54,7 +54,7 @@ vm = proxmox.vm.VirtualMachine("vm",
sockets = vm_sockets
),
memory = proxmox.vm.VirtualMachineMemoryArgs(
dedicated = mv_ram
dedicated = vm_ram
),
clone = proxmox.vm.VirtualMachineCloneArgs(
node_name = pve_nodename,
@ -105,7 +105,8 @@ with open('inventory', 'w') as f:
# Applying the command
execute_ansible = command.local.Command("ansible",
create = f"ansible-playbook {ansible_playbook}"
create = f"ansible-playbook {ansible_playbook}",
opts = ResourceOptions(depends_on = [vm])
)
# Outputs