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:
parent
9381410798
commit
dbe5a90e8f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue