lets try and set serial one on lvm and virt-install starting

This commit is contained in:
Kevin Fenzi 2016-12-11 15:58:40 +00:00
parent 189e8d1000
commit 059286e6d9

View file

@ -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