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:
parent
38b9743495
commit
2696acca96
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|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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue