From f62a2a9d4a59df0f485fd5d0e9acc179050d0418 Mon Sep 17 00:00:00 2001 From: Ronald Date: Tue, 31 Dec 2024 14:56:27 +0000 Subject: [PATCH] Move to import tasks --- tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6e198b0..4714b65 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -23,10 +23,11 @@ - vars[item] is undefined - name: Include Proxmox tasks - ansible.builtin.include_tasks: proxmox.yml + ansible.builtin.import_tasks: + file: proxmox.yml - name: Include tasks to connect to the new VM - ansible.builtin.include_tasks: + ansible.builtin.import_tasks: file: connect.yml when: - create_vm_proxmox_connect_to_vm | bool