1 - name: Prepare to build VM
5 img_prop_item: "{{ IMG_PROPERTY }}"
6 img_arch: "{{ YARD_IMG_ARCH }}"
9 - name: Include pre-build
11 name: build_yardstick_image
12 tasks_from: pre_build.yml
14 - installation_mode != inst_mode_container
17 - name: Build VM in chroot
22 img_property: "{{ IMG_PROPERTY }}"
23 environment: "{{ proxy_env }}"
26 - name: Include image build
28 name: build_yardstick_image
29 tasks_from: "cloudimg_modify_{{ img_property }}.yml"
31 - installation_mode != inst_mode_container
34 - name: Clear up after VM is built
39 - name: Include post-build
41 name: build_yardstick_image
42 tasks_from: post_build.yml
44 - installation_mode != inst_mode_container