From d56ebda55b99ffd4969fbe4ff48182d2b778c714 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Sun, 6 Mar 2022 11:27:37 +0100 Subject: [PATCH] Set pool autostart in different task or it doesn't act --- roles/libvirt/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/libvirt/tasks/main.yml b/roles/libvirt/tasks/main.yml index 6af15cb..f293c10 100644 --- a/roles/libvirt/tasks/main.yml +++ b/roles/libvirt/tasks/main.yml @@ -45,6 +45,11 @@ - name: Start session pool virt_pool: state: active + name: "{{ pool_name }}" + uri: "qemu:///session" + +- name: Autostart session pool + virt_pool: autostart: true name: "{{ pool_name }}" uri: "qemu:///session"