mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user