From fb0153cf67657ba8d42c68872c0d2ffdb1368526 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Wed, 17 Aug 2022 21:42:12 +0200 Subject: [PATCH] Fixing some typos and dependencies. --- proxmoxve-ansible-python/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proxmoxve-ansible-python/__main__.py b/proxmoxve-ansible-python/__main__.py index b628539..96b3fc7 100644 --- a/proxmoxve-ansible-python/__main__.py +++ b/proxmoxve-ansible-python/__main__.py @@ -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