From e1e67360d87e2fe229d2ba1e52d2adfb0fa6b3d9 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 2 Mar 2017 13:03:33 +0000 Subject: [PATCH] buildhw: add libvirtd.conf to enable easier oz/imagefactory debug --- roles/koji_builder/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 163bcc9d8c..26ccdba052 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -157,6 +157,21 @@ tags: - koji_builder +# install libvirtd.conf +# +# This provides us with the ability to use virt-manager from non root accounts. +# This is useful in the oz/imagefactory context for debugging + +- name: install libvirtd.conf + copy: src="{{ files }}/virthost/libvirtd.conf" dest=/etc/libvirt/libvirtd.conf + notify: + - restart libvirtd + tags: + - koji_builder + +- name: enable libvirtd + service: name=libvirtd state=started enabled=yes + # # On primary we want to make a /mnt/koji link to /mnt/fedora_koji/koji #