lets try and set serial one on lvm and virt-install starting
This commit is contained in:
parent
189e8d1000
commit
059286e6d9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue