diff --git a/roles/openqa/server/tasks/main.yml b/roles/openqa/server/tasks/main.yml index 4096d3158f..df4f4818d9 100644 --- a/roles/openqa/server/tasks/main.yml +++ b/roles/openqa/server/tasks/main.yml @@ -55,6 +55,7 @@ - nfs-utils - perl(Class::DBI::Pg) - perl(DateTime::Format::Pg) + - expect - libguestfs-tools-c tags: - packages @@ -79,15 +80,21 @@ - /var/lib/openqa/share/factory/hdd - /var/lib/openqa/share/factory/repo +- name: Start libvirt service + service: name=libvirtd state=started + # NOTE: this is very hacky, but we can't do much better with the current # disk creation script, I will try and make it better. We'll have to bump # this hardcoded release number every so often. - name: Create hard disk images (this may take a long time!) command: "/root/openqa_fedora_tools/tools/createhdds.sh 23" args: - creates: /var/lib/openqa/share/factory/hdd/disk_full.img + creates: /var/lib/openqa/share/factory/hdd/disk_full_mbr.img chdir: /var/lib/openqa/share/factory/hdd/ +- name: Stop libvirt service + service: name=libvirtd state=stopped + - name: Create exports file copy: src=exports dest=/etc/exports.d/openqa.exports owner=root group=root mode=0644 tags: