virt_instance_create: cast the lv size to int to avoid a warning.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-23 10:27:27 -07:00
parent 9381410798
commit dbe5a90e8f

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 }} state=present
lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size|int }} state=present
delegate_to: "{{ vmhost }}"
when: inventory_hostname not in result.list_vms