From f2db5f419dadf52df9edd2ee3dc95c78b912b92c Mon Sep 17 00:00:00 2001 From: exu Date: Tue, 15 Oct 2024 16:16:56 +0200 Subject: [PATCH] Enable libvirtd socket --- roles/config/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index d1af71b3..8658a64f 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -204,6 +204,15 @@ become: true tags: config +- name: Enable libvirt socket + ansible.builtin.systemd_service: + name: "libvirtd.socket" + state: "started" + enabled: true + when: ('libvirt' in ansible_facts.packages) + become: true + tags: services + - name: Create groups ansible.builtin.group: name: "{{ item }}"