virt_instance_create: seems we cannot cast lvm size to int, as we use units in a number of host vars. 😭

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-24 10:46:14 -07:00
parent 38b9743495
commit 2696acca96

View file

@ -17,7 +17,7 @@
when: inventory_hostname not in result.list_vms
- name: ensure the lv for the guest is made
lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size|int }} state=present
lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size }} state=present
delegate_to: "{{ vmhost }}"
when: inventory_hostname not in result.list_vms