From 059286e6d9fd897d4d33044e142327ee626f640a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 11 Dec 2016 15:58:40 +0000 Subject: [PATCH] lets try and set serial one on lvm and virt-install starting --- tasks/virt_instance_create.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index fa0b53ebcc..ae19af82f1 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -11,11 +11,13 @@ - name: ensure the lv for the guest is made lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size }} state=present delegate_to: "{{ vmhost }}" + serial: 1 when: inventory_hostname not in result.list_vms - name: run the virt-install shell: "{{ virt_install_command }}" delegate_to: "{{ vmhost }}" + serial: 1 when: inventory_hostname not in result.list_vms - name: wait for the install to finish