summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/roles/create-nodes/tasks/create_vm.yml')
-rw-r--r--xci/playbooks/roles/create-nodes/tasks/create_vm.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/playbooks/roles/create-nodes/tasks/create_vm.yml b/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
index 4afb71cf..bca5b483 100644
--- a/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
+++ b/xci/playbooks/roles/create-nodes/tasks/create_vm.yml
@@ -35,7 +35,7 @@
path: "{{ opnfv_image_path }}/{{ vm_name }}.qcow2"
register: _vm_volume_prepared
- - name: Resize opnfv VM image to {{ item.disks[0].disk_capacity }}
+ - name: Resize opnfv VM image to {{ item.1.disks[0].disk_capacity }}
command: "qemu-img resize {{ opnfv_image_path }}/opnfv.qcow2 {{ item.1.disks[0].disk_capacity }}"
when:
- vm_name == 'opnfv'