aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/image_uploaders/upload_yardstick_image.yml
blob: 9364c52a5a4b690359a8ab7a92acf24963d41541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<
# Copyright (c) 2017 Intel Corporation.
#
tor">: url: "{{ CLOUD_IMG_URL }}" dest: "{{ CLOUD_IMAGE }}" - name: Extra cloud image kernel - unarchive: asdf: - os_image: name: yardstick-{{ release }}-kernel is_public: yes disk_format: qcow2 container_format: bare filename: "{{ CLOUD_KERNEL }}" - set_fact: image_properties: kernel_id: "{{ GLANCE_KERNEL_ID }}" os_command_line: "{{ command_line }}" - set_fact: image_properties: "{{ image_properties|combine({'hw_mem_page_size': 'large'} }}" when: fdio - set_fact: image_properties: "{{ image_properties|combine({'hw_firmware_type': HW_FIRMWARE_TYPE} }}" when: HW_FIRMWARE_TYPE - os_image: name: yardstick-image is_public: yes disk_format: qcow2 container_format: bare filename: "{{ QCOW2_IMAGE }}" properties: "{{ image_properties }}" environment: "{{ openrc }}" - os_image_facts: name: yardstick-image environment: "{{ openrc }}"